#202E8B#202E8B

#202E8B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.154 H 269.8°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#202E8B
RGBrgb(32, 46, 139)
HSLhsl(232, 63%, 34%)
HSVhsv(232, 77%, 55%)
CMYKcmyk(77%, 66.9%, 0%, 45.5%)
CIE-LABlab(24.08, 28.86, -53.18)
CIE-LCHlch(24.08, 60.51, 298.48°)
OKLaboklab(35.7% -0.0005 -0.1538)
OKLCHoklch(35.7% 0.154 269.8)
XYZxyz(6.2313, 4.1245, 24.8888)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202E8B #8B7D20
analogous
#20638B #202E8B #47208B
triadic
#202E8B #8B202E #2E8B20
tetradic
#202E8B #8B2063 #8B7D20 #208B47
square
#202E8B #8B2063 #8B7D20 #208B47
split-complementary
#202E8B #8B4720 #638B20
monochromatic
#090D28 #151E59 #202E8B #2B3EBD #4F61D6

Accessibility & contrast

On white

11.51
#202E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#202E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202E8B
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202E8B#FFFFFF#000000##FFFFFF
##202E8B1.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202e8b;
/* rgb */ color: rgb(32, 46, 139);
/* oklch */ color: oklch(35.7% 0.154 269.8);
Tailwind
colors: {
  custom: {
    50: '#6d66ae',
    500: '#202e8b',
    950: '#000000',
  },
}
SCSS
$custom: #202e8b;
$custom-light: #6d66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#202e8b",
  "rgb": {
    "r": 32,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 232.15,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35701,
    "c": 0.15383,
    "h": 269.8
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#202E8B
secondary
#BAAB4D
accent
#D042E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202E8B

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

Preview Lab → · Contrast checker → · Palette generator →

#202E8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva