#2B4D92#2B4D92

#2B4D92 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.121 H 262.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2B4D92
RGBrgb(43, 77, 146)
HSLhsl(220, 54%, 37%)
HSVhsv(220, 71%, 57%)
CMYKcmyk(70.5%, 47.3%, 0%, 42.7%)
CIE-LABlab(33.76, 12.01, -41.75)
CIE-LCHlch(33.76, 43.45, 286.04°)
OKLaboklab(43.3% -0.0153 -0.1196)
OKLCHoklch(43.3% 0.121 262.7)
XYZxyz(8.8366, 7.8958, 28.2469)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D92 #92702B
analogous
#2B8192 #2B4D92 #3D2B92
triadic
#2B4D92 #922B4D #4D922B
tetradic
#2B4D92 #922B81 #92702B #2B923D
square
#2B4D92 #922B81 #92702B #2B923D
split-complementary
#2B4D92 #923D2B #81922B
monochromatic
#0F1B33 #1D3463 #2B4D92 #3966C1 #6689D2

Accessibility & contrast

On white

8.14
#2B4D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B4D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D92
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D92#FFFFFF#000000##FFFFFF
##2B4D921.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5495
Deuteranopia (green-blind)
#144B91
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4d92;
/* rgb */ color: rgb(43, 77, 146);
/* oklch */ color: oklch(43.3% 0.121 262.7);
Tailwind
colors: {
  custom: {
    50: '#717eb2',
    500: '#2b4d92',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d92;
$custom-light: #717eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d92",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 146
  },
  "hsl": {
    "h": 220.194,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43301,
    "c": 0.12054,
    "h": 262.7
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#2B4D92
secondary
#B89B61
accent
#AD4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4D92

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

Preview Lab → · Contrast checker → · Palette generator →

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