#2B4F94#2B4F94

#2B4F94 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.121 H 262.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2B4F94
RGBrgb(43, 79, 148)
HSLhsl(219, 55%, 37%)
HSVhsv(219, 71%, 58%)
CMYKcmyk(70.9%, 46.6%, 0%, 42%)
CIE-LABlab(34.48, 11.44, -41.82)
CIE-LCHlch(34.48, 43.35, 285.29°)
OKLaboklab(43.9% -0.0169 -0.1197)
OKLCHoklch(43.9% 0.121 262)
XYZxyz(9.1356, 8.2427, 29.1208)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F94 #94702B
analogous
#2B8394 #2B4F94 #3C2B94
triadic
#2B4F94 #942B4F #4F942B
tetradic
#2B4F94 #942B83 #94702B #2B943C
square
#2B4F94 #942B83 #94702B #2B943C
split-complementary
#2B4F94 #943C2B #83942B
monochromatic
#0F1C35 #1D3665 #2B4F94 #3968C3 #678CD3

Accessibility & contrast

On white

7.93
#2B4F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2B4F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F94
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F94#FFFFFF#000000##FFFFFF
##2B4F941.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5697
Deuteranopia (green-blind)
#174D93
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4f94;
/* rgb */ color: rgb(43, 79, 148);
/* oklch */ color: oklch(43.9% 0.121 262.0);
Tailwind
colors: {
  custom: {
    50: '#717fb4',
    500: '#2b4f94',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f94;
$custom-light: #717fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f94",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 148
  },
  "hsl": {
    "h": 219.429,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43895,
    "c": 0.1209,
    "h": 262
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#2B4F94
secondary
#B99B62
accent
#AB49DE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B4F94

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

Preview Lab → · Contrast checker → · Palette generator →

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