#2B4CA4#2B4CA4

#2B4CA4 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.148 H 265.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2B4CA4
RGBrgb(43, 76, 164)
HSLhsl(224, 58%, 41%)
HSVhsv(224, 74%, 64%)
CMYKcmyk(73.8%, 53.7%, 0%, 35.7%)
CIE-LABlab(34.73, 19.58, -51.08)
CIE-LCHlch(34.73, 54.70, 290.97°)
OKLaboklab(44.43% -0.0121 -0.147)
OKLCHoklch(44.43% 0.148 265.3)
XYZxyz(10.2792, 8.3617, 36.1870)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CA4 #A4832B
analogous
#2B88A4 #2B4CA4 #462BA4
triadic
#2B4CA4 #A42B4C #4CA42B
tetradic
#2B4CA4 #A42B88 #A4832B #2BA446
square
#2B4CA4 #A42B88 #A4832B #2BA446
split-complementary
#2B4CA4 #A4462B #88A42B
monochromatic
#121F43 #1E3674 #2B4CA4 #3F66CD #708DD9

Accessibility & contrast

On white

7.86
#2B4CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2B4CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CA4
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CA4#FFFFFF#000000##FFFFFF
##2B4CA41.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C57A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4ca4;
/* rgb */ color: rgb(43, 76, 164);
/* oklch */ color: oklch(44.4% 0.148 265.3);
Tailwind
colors: {
  custom: {
    50: '#757dc0',
    500: '#2b4ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ca4;
$custom-light: #757dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ca4",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 223.636,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44432,
    "c": 0.14751,
    "h": 265.3
  },
  "luminance": 0.08363
}

Semantic roles & 50–950 ramp

primary
#2B4CA4
secondary
#C1A96A
accent
#B746E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B4CA4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2B4CA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva