SiteStyleGuide

Unofficial A style guide made by SiteStyleGuide from hdfcbank.com’s public web pages. Not affiliated with or endorsed by HDFC Bank. The real site is hdfcbank.com ↗

HDFC Bank logo

Unofficial style guide

HDFC Bankstyle guide

HDFC Bank’s website (hdfcbank.com) uses OpenSans_Regular for its headings and body text. Its palette is led by Light Slate Blue (#004C8F), Light Steel Blue (#A3BAF9) and Light Red (#ED232A), with #292929 text on #FFFFFF. Captured from the live site on 25 October 2026.

Typefaces
OpenSans_Regular, OpenSans_Semibold, OpenSans_Bold
Palette
4 neutrals, 12 colours, 3 gradients
Captured
25 Oct 2026 · added by @sitestyleguide
https://www.hdfc.bank.in/ Screenshot
Screenshot of the hdfcbank.com homepage on a desktop screen
Screenshot of hdfcbank.com on a 1440 px desktop screen, 25 Oct 2026.

Identity & metadata

What browsers, search engines and social cards show before anyone reaches the page, from the homepage’s <head>.

Title &
description

Page title
Personal Banking & Netbanking Services | HDFC Bank
● 50 / 60 characters
Meta description
HDFC Bank, India's leading private sector bank, offers Online NetBanking & Personal Banking Services like Accounts & Deposits, Cards, Loans, & Investment.
● 154 / 160 characters
Site name
HDFC Bank
og:title
Personal Banking & Netbanking Services | HDFC Bank
og:description
HDFC Bank, India's leading private sector bank, offers Online NetBanking & Personal Banking Services like Accounts & Deposits, Cards, Loans, & Investment.
Language
en-IN

In search results

HDFC Bankhttps://www.hdfc.bank.in/

Personal Banking & Netbanking Services | HDFC Bank

HDFC Bank, India's leading private sector bank, offers Online NetBanking & Personal Banking Services like Accounts & Deposits, Cards, Loans, & Investment.

When shared

The image HDFC Bank shares with links

hdfcbank.com

Personal Banking & Netbanking Services | HDFC Bank

HDFC Bank, India's leading private sector bank, offers Online NetBanking & Personal Banking Services like Acc…

Back to top ↑

Colour

Read from the site’s stylesheets and weighted by where each colour is used. Names are the nearest standard colour name. Click a swatch to copy its hex code.

Contrast is against the site’s text colour (#292929) and white, using WCAG 2 ratios: 4.5 for body text, 3 for large text.

Colour

Balance

How much each colour is used
  • White 39%
  • Light Slate Blue 14.8%
  • Charcoal 12.8%
  • Black 10.4%
  • Light Steel Blue 9.2%
  • Near Black 3.9%
  • Light Red 3.2%
  • Deep Slate Blue 2%
  • Black 1%
  • Dodger Blue 0.7%
  • Midnight Blue 0.6%
  • Deep Red 0.5%
  • Slate Blue 0.5%
  • Rebecca Purple 0.5%
  • Lime Green 0.5%
  • Steel Blue 0.4%

By how often each colour appears in the site’s CSS, weighted by where (body, headings, buttons), not by area on the screen.

Neutrals

Text, backgrounds and structure
  • White

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 0
    On text
    14.55:1 AAA
    On white
    —

    Text, background, border · body.darkscreen .section-title, body

  • Charcoal

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 84
    On text
    —
    On white
    14.55:1 AAA

    Text, background, border · .section-title, .sub-title

  • Black

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 100
    On text
    1.44:1 Fail
    On white
    21.00:1 AAA

    Text, background, border · .sidebarchamber #sidebarChamber .sidebar-list li a h3, .btn-secondary

  • Near Black

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 0 0 89
    On text
    1.18:1 Fail
    On white
    17.22:1 AAA

    Background, text · body.darkscreen header .popularMenu, .login_dropdown .dropdown_list .mainTitle

Colours

Brand colours and accents, most used first
  • Light Slate Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    100 47 0 44
    On text
    1.68:1 Fail
    On white
    8.64:1 AAA

    Text, background, border · .btn-primary, .btn

  • Light Steel Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    35 25 0 2
    On text
    7.59:1 AAA
    On white
    1.92:1 Fail

    Background, text, border · .darkscreen .btn-primary, .darkscreen .btn-primary-outline:hover

  • Light Red

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 85 82 7
    On text
    3.38:1 AA large
    On white
    4.31:1 AA large

    Text, background · .btn-etb_arrow span, .btn-secondary .icon-left

  • Deep Slate Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    100 51 0 49
    On text
    1.43:1 Fail
    On white
    10.19:1 AAA

    Text, background · .btn-etb_arrow, .btn.savingbtn

  • Black

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    58 38 0 84
    On text
    1.21:1 Fail
    On white
    17.59:1 AAA

    Text · .inputSearch--title--box li .inputSearch--title.lgt-purple, .product-sticky .product-sticky-wrapper>.cmp-teaser>.cmp-teaser__content>.cmp-te

  • Dodger Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    68 31 0 8
    On text
    5.26:1 AA
    On white
    2.76:1 Fail

    Background, text · .darkscreen .aboutusType1, .darkscreen .header-mobile

  • Midnight Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    91 38 0 75
    On text
    1.04:1 Fail
    On white
    15.13:1 AAA

    Background, border · body.darkscreen header .desktop-header, .darkscreen .header-mobile .navtopbar

  • Deep Red

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    0 92 89 9
    On text
    3.12:1 AA large
    On white
    4.66:1 AA

    Background, text · body.darkscreen header .btnLogin, .loginWrap .btnLogin

  • Slate Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    81 58 0 38
    On text
    1.62:1 Fail
    On white
    8.99:1 AAA

    Text · .inputSearch--title--box li .inputSearch--title.skyblue, .form-group input[type=radio]:checked+label

  • Rebecca Purple

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    53 82 0 29
    On text
    1.57:1 Fail
    On white
    9.25:1 AAA

    Text · .inputSearch--title--box li .inputSearch--title.purple, .suggested-container .searchServices-Mainwrap .inner-right-wrap .inner-right-tit

  • Lime Green

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    50 0 100 20
    On text
    7.07:1 AAA
    On white
    2.06:1 Fail

    Background, text · .darkmode .bg-primary, body.darkscreen header .discoverprod.active

  • Steel Blue

    HEX
    RGB
    HSL
    OKLCH
    CMYK
    100 52 0 0
    On text
    3.62:1 AA large
    On white
    4.02:1 AA large

    Background, text, border · .swiper-pagination-bullet-active, .swiper-pagination-progressbar .swiper-pagination-progressbar-fill

Gradients

  • linear-gradient(180deg,hsla(0,0%,100%,0) 3%,#fff 85%)

  • linear-gradient(178deg,#bee8ff -26.26%,#d9f1ff 71.01%,#fff 106.38%)

  • linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))

Back to top ↑

Typography

Faces from Google Fonts are shown in the real thing. Others are licensed to the site, so they show in your device’s copy if you have one, or a stand-in if not.

OpenSans_Regular

Aa 100 Aa 400

OpenSans_Regular

Self-hosted · weights 100, 400 · headings, body · shown in a stand-in if you don’t have it

Aa 600

OpenSans_Semibold

Self-hosted · weights 600 · headings, buttons · shown in a stand-in if you don’t have it

Aa 600 Aa 700

OpenSans_Bold

Self-hosted · weights 600, 700 · headings · shown in a stand-in if you don’t have it

Aa 300

OpenSans_Extrabold

Self-hosted · weights 300 · headings · shown in a stand-in if you don’t have it

ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 ! ? & @ % $ – ’ “ ”

Type scale

From the site’s CSS
Heading 1 1.125rem · 18 px / 1.5rem OpenSans_Bold

HDFC Bank

Heading 2 3rem · 48 px / 3.62rem OpenSans_Bold

Personal Banking & Netbanking Services | HDFC B…

Heading 3 1.125rem · 18 px / 1.5rem weight 400 · OpenSans_Bold

Personal Banking & Netbanking Services | HDFC B…

Heading 4 1.125rem · 18 px / 1.5rem OpenSans_Bold

Personal Banking & Netbanking Services | HDFC B…

Heading 5 1.125rem · 18 px / 1.5rem OpenSans_Bold

Personal Banking & Netbanking Services | HDFC B…

Heading 6 1.125rem · 18 px / 1.5rem OpenSans_Bold

Personal Banking & Netbanking Services | HDFC B…

Body 1pc / normal OpenSans_Regular

HDFC Bank, India's leading private sector bank, offers Online NetBanking & Personal Banking Services like Accounts & Deposits, Cards, Loans…

Paragraph 1rem · 16 px / 150% weight 400 · OpenSans_Regular

HDFC Bank, India's leading private sector bank, offers Online NetBanking & Personal Banking Services like Accounts & Deposits, Cards, Loans…

Link 1.375rem · 22 px / normal weight 600 · OpenSans_Bold

Read more about HDFC Bank

Sizes in use

Most common across the site
  • 24pxline 2.625rem · 9 rules
  • 20pxline normal · 13 rules
  • 18pxline normal · 18 rules
  • 16pxline 1.5rem · 45 rules
  • 14pxline normal · 69 rules
  • 12pxline 1 · 46 rules
  • 11pxline .875rem · 10 rules
  • 10pxline normal · 8 rules

Back to top ↑

Elements

The main button and link as the site’s CSS draws them, and the corner radii and shadows it uses most.

Elements

Button

Get started

.btn-primary · #004C8F

Link

Read our latest news today.

a · #004C8F

Corner radius

  • .5rem · 37×
  • 50% · 22×
  • .625rem · 15×
  • 8px · 11×
  • .375rem · 9×
  • .3125rem · 6×

Shadows

  • 0 0 10px rgba(0,0,0,.1)
  • -1px 3px 10px rgba(0,0,0,.3)
  • 0 5px 40px 4px rgba(0,0,0,.1)
  • 0 0 .625rem rgba(0,0,0,.1)

Back to top ↑

Layout

Breakpoints from the site’s media queries and the widths its content is held to, with how often each appears.

Grid

Breakpoints

412
580
768
991
1024
1280
1366
1920

On a scale of 0 to 1920 px.

Content widths (max-width)

1170 px
1070 px
991 px
920 px
540 px
330 px

Back to top ↑

Notes

Plain checks on what was found. Worth fixing if you look after this site.

Notes

  • ● FineThe title is 50 characters, short enough to show in full in search results.

Back to top ↑

Questions

Quick answers, from the same capture as the rest of this guide.

Questions

What font does HDFC Bank use?
HDFC Bank’s website uses four typefaces: OpenSans_Regular (headings and body text), self-hosted; OpenSans_Semibold, self-hosted; OpenSans_Bold, self-hosted; OpenSans_Extrabold, self-hosted.
What are HDFC Bank’s brand colours?
The main colours on hdfcbank.com are Light Slate Blue (#004C8F), Light Steel Blue (#A3BAF9), Light Red (#ED232A), Deep Slate Blue (#004083), Black (#111928) and Dodger Blue (#4BA1EB).
What colour is HDFC Bank’s text and background?
Body text is #292929 on a #FFFFFF background.
Where is HDFC Bank’s logo from?
The logo shown in this guide was found on hdfcbank.com’s homepage. For official logo files and usage rules, check HDFC Bank’s own brand or press page.
Is this HDFC Bank’s official style guide?
No. SiteStyleGuide made it from hdfcbank.com’s public web pages on 25 October 2026, and isn’t affiliated with HDFC Bank. Members can refresh a guide after 90 days to pick up changes.

Back to top ↑

Design tokens

Everything above as CSS variables, ready to paste into a project. Members can download the tokens as files for Figma (Tokens Studio), Style Dictionary and Tailwind.

Tokens

hdfcbank-com-tokens.css

Download

Free with an account: sign up or sign in, and you’ll come straight back here.

/* hdfcbank.com design tokens, from SiteStyleGuide (https://sitestyleguide.com/hdfcbank.com) */
:root {
  /* Colours */
  --text: #292929;
  --background: #FFFFFF;
  --colour-white: #FFFFFF;
  --colour-charcoal: #292929;
  --colour-black: #000000;
  --colour-near-black: #1B1B1B;
  --colour-light-slate-blue: #004C8F;
  --colour-light-steel-blue: #A3BAF9;
  --colour-light-red: #ED232A;
  --colour-deep-slate-blue: #004083;
  --colour-black-2: #111928;
  --colour-dodger-blue: #4BA1EB;
  --colour-midnight-blue: #062841;
  --colour-deep-red: #E7131A;
  --colour-slate-blue: #1E429F;
  --colour-rebecca-purple: #5521B5;
  --colour-lime-green: #66CC00;
  --colour-steel-blue: #007AFF;
  --gradient-1: linear-gradient(180deg,hsla(0,0%,100%,0) 3%,#fff 85%);
  --gradient-2: linear-gradient(178deg,#bee8ff -26.26%,#d9f1ff 71.01%,#fff 106.38%);
  --gradient-3: linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0));

  /* Typefaces */
  --font-headings: 'OpenSans_Regular';
  --font-body: 'OpenSans_Regular';
  --font-buttons: 'OpenSans_Semibold';

  /* Type scale */
  --text-h1: 1.125rem;
  --leading-h1: 1.5rem;
  --text-h2: 3rem;
  --leading-h2: 3.62rem;
  --text-h3: 1.125rem;
  --leading-h3: 1.5rem;
  --text-h4: 1.125rem;
  --leading-h4: 1.5rem;
  --text-h5: 1.125rem;
  --leading-h5: 1.5rem;
  --text-h6: 1.125rem;
  --leading-h6: 1.5rem;
  --text-body: 1pc;
  --leading-body: normal;
  --text-p: 1rem;
  --leading-p: 150%;
  --text-a: 1.375rem;
  --leading-a: normal;

  /* Shape */
  --radius-1: .5rem;
  --radius-2: 50%;
  --radius-3: .625rem;
  --radius-4: 8px;
  --radius-5: .375rem;
  --radius-6: .3125rem;

  /* Layout (breakpoints can’t be used in media queries as variables; they’re here for reference) */
  --breakpoint-1: 412px;
  --breakpoint-2: 580px;
  --breakpoint-3: 768px;
  --breakpoint-4: 991px;
  --breakpoint-5: 1024px;
  --breakpoint-6: 1280px;
  --breakpoint-7: 1366px;
  --breakpoint-8: 1920px;
  --max-width-1: 1170px;
  --max-width-2: 1070px;
  --max-width-3: 991px;
  --max-width-4: 920px;
  --max-width-5: 540px;
  --max-width-6: 330px;
}

Back to top ↑

Share

Links open each service’s own share page. Nothing from them loads here.

Share

Run hdfcbank.com?

Add the badge to your site

Link to this guide from your own site, so your team, designers and agencies can find your colours and fonts in one place.

View our style guide on SiteStyleGuide
<a href="https://sitestyleguide.com/hdfcbank.com" title="HDFC Bank style guide on SiteStyleGuide"><img src="https://sitestyleguide.com/public/badge.svg" alt="View our style guide on SiteStyleGuide" width="200" height="44"></a>

Back to top ↑

Websites whose lead colour is closest to HDFC Bank’s

Captured from hdfcbank.com on 25 October 2026. SiteStyleGuide isn’t affiliated with or endorsed by HDFC Bank; this guide describes the public website for reference.