#2B4E9A#2B4E9A

#2B4E9A is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.131 H 263.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2B4E9A
RGBrgb(43, 78, 154)
HSLhsl(221, 56%, 39%)
HSVhsv(221, 72%, 60%)
CMYKcmyk(72.1%, 49.4%, 0%, 39.6%)
CIE-LABlab(34.59, 14.40, -45.28)
CIE-LCHlch(34.59, 47.52, 287.64°)
OKLaboklab(44.1% -0.015 -0.1299)
OKLCHoklch(44.1% 0.131 263.4)
XYZxyz(9.5513, 8.2945, 31.6632)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E9A #9A772B
analogous
#2B859A #2B4E9A #3F2B9A
triadic
#2B4E9A #9A2B4E #4E9A2B
tetradic
#2B4E9A #9A2B85 #9A772B #2B9A3F
square
#2B4E9A #9A2B85 #9A772B #2B9A3F
split-complementary
#2B4E9A #9A3F2B #859A2B
monochromatic
#101E3A #1E366A #2B4E9A #3A67C8 #6A8CD5

Accessibility & contrast

On white

7.90
#2B4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2B4E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E9A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E9A#FFFFFF#000000##FFFFFF
##2B4E9A1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579D
Deuteranopia (green-blind)
#034D98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4e9a;
/* rgb */ color: rgb(43, 78, 154);
/* oklch */ color: oklch(44.1% 0.131 263.4);
Tailwind
colors: {
  custom: {
    50: '#737fb8',
    500: '#2b4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e9a;
$custom-light: #737fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e9a",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 221.081,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44104,
    "c": 0.13078,
    "h": 263.4
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#2B4E9A
secondary
#BCA165
accent
#B048E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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