#202E8A#202E8A

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

Color values

HEX#202E8A
RGBrgb(32, 46, 138)
HSLhsl(232, 62%, 33%)
HSVhsv(232, 77%, 54%)
CMYKcmyk(76.8%, 66.7%, 0%, 45.9%)
CIE-LABlab(23.98, 28.48, -52.72)
CIE-LCHlch(23.98, 59.92, 298.38°)
OKLaboklab(35.6% -0.0005 -0.1525)
OKLCHoklch(35.6% 0.152 269.8)
XYZxyz(6.1585, 4.0954, 24.5057)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202E8A #8A7C20
analogous
#20638A #202E8A #47208A
triadic
#202E8A #8A202E #2E8A20
tetradic
#202E8A #8A2063 #8A7C20 #208A47
square
#202E8A #8A2063 #8A7C20 #208A47
split-complementary
#202E8A #8A4720 #638A20
monochromatic
#090D27 #141D58 #202E8A #2C3FBC #4E60D6

Accessibility & contrast

On white

11.54
#202E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#202E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202E8A
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202E8A#FFFFFF#000000##FFFFFF
##202E8A1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202e8a;
/* rgb */ color: rgb(32, 46, 138);
/* oklch */ color: oklch(35.6% 0.152 269.8);
Tailwind
colors: {
  custom: {
    50: '#6d66ad',
    500: '#202e8a',
    950: '#000000',
  },
}
SCSS
$custom: #202e8a;
$custom-light: #6d66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#202e8a",
  "rgb": {
    "r": 32,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 232.075,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35603,
    "c": 0.15246,
    "h": 269.8
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#202E8A
secondary
#B9AB4D
accent
#D042E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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