#202A4E#202A4E

#202A4E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.067 H 270.2°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#202A4E
RGBrgb(32, 42, 78)
HSLhsl(227, 42%, 22%)
HSVhsv(227, 59%, 31%)
CMYKcmyk(59%, 46.2%, 0%, 69.4%)
CIE-LABlab(17.98, 7.94, -23.56)
CIE-LCHlch(17.98, 24.86, 288.62°)
OKLaboklab(29.58% 0.0003 -0.0669)
OKLCHoklch(29.58% 0.067 270.2)
XYZxyz(2.7983, 2.5129, 7.5438)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A4E #4E4420
analogous
#20414E #202A4E #2D204E
triadic
#202A4E #4E202A #2A4E20
tetradic
#202A4E #4E2041 #4E4420 #204E2D
square
#202A4E #4E2041 #4E4420 #204E2D
split-complementary
#202A4E #4E2D20 #414E20
monochromatic
#090C16 #0E1323 #202A4E #324179 #4459A5

Accessibility & contrast

On white

13.98
#202A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#202A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A4E
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A4E#FFFFFF#000000##FFFFFF
##202A4E1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E4F
Deuteranopia (green-blind)
#162A4D
Tritanopia (blue-blind)
#093238
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #202a4e;
/* rgb */ color: rgb(32, 42, 78);
/* oklch */ color: oklch(29.6% 0.067 270.2);
Tailwind
colors: {
  custom: {
    50: '#5f6380',
    500: '#202a4e',
    950: '#000000',
  },
}
SCSS
$custom: #202a4e;
$custom-light: #5f6380;
$custom-dark: #000000;
JSON
{
  "hex": "#202a4e",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 226.957,
    "s": 41.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29577,
    "c": 0.06688,
    "h": 270.2
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#202A4E
secondary
#827647
accent
#B756D2
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #202A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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