#2B4F91#2B4F91

#2B4F91 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.117 H 261.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2B4F91
RGBrgb(43, 79, 145)
HSLhsl(219, 54%, 37%)
HSVhsv(219, 70%, 57%)
CMYKcmyk(70.3%, 45.5%, 0%, 43.1%)
CIE-LABlab(34.29, 10.29, -40.30)
CIE-LCHlch(34.29, 41.59, 284.32°)
OKLaboklab(43.69% -0.0175 -0.1152)
OKLCHoklch(43.69% 0.117 261.4)
XYZxyz(8.9013, 8.1490, 27.8864)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F91 #916D2B
analogous
#2B8291 #2B4F91 #3A2B91
triadic
#2B4F91 #912B4F #4F912B
tetradic
#2B4F91 #912B82 #916D2B #2B913A
square
#2B4F91 #912B82 #916D2B #2B913A
split-complementary
#2B4F91 #913A2B #82912B
monochromatic
#0F1C33 #1D3562 #2B4F91 #3969C0 #658BD1

Accessibility & contrast

On white

7.98
#2B4F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2B4F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F91
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F91#FFFFFF#000000##FFFFFF
##2B4F911.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5694
Deuteranopia (green-blind)
#1C4C90
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4f91;
/* rgb */ color: rgb(43, 79, 145);
/* oklch */ color: oklch(43.7% 0.117 261.4);
Tailwind
colors: {
  custom: {
    50: '#717fb2',
    500: '#2b4f91',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f91;
$custom-light: #717fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f91",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 145
  },
  "hsl": {
    "h": 218.824,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.11657,
    "h": 261.4
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#2B4F91
secondary
#B89960
accent
#AA4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #2B4F91

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

Preview Lab → · Contrast checker → · Palette generator →

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