#202E7A#202E7A

#202E7A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.130 H 270.0°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#202E7A
RGBrgb(32, 46, 122)
HSLhsl(231, 58%, 30%)
HSVhsv(231, 74%, 48%)
CMYKcmyk(73.8%, 62.3%, 0%, 52.2%)
CIE-LABlab(22.53, 22.30, -45.03)
CIE-LCHlch(22.53, 50.25, 296.35°)
OKLaboklab(34.09% 0.0001 -0.1299)
OKLCHoklch(34.09% 0.13 270)
XYZxyz(5.0843, 3.6657, 18.8482)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202E7A #7A6C20
analogous
#205B7A #202E7A #3F207A
triadic
#202E7A #7A202E #2E7A20
tetradic
#202E7A #7A205B #7A6C20 #207A3F
square
#202E7A #7A205B #7A6C20 #207A3F
split-complementary
#202E7A #7A3F20 #5B7A20
monochromatic
#070919 #131C4A #202E7A #2D40AA #465BCE

Accessibility & contrast

On white

12.12
#202E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#202E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202E7A
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202E7A#FFFFFF#000000##FFFFFF
##202E7A1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202e7a;
/* rgb */ color: rgb(32, 46, 122);
/* oklch */ color: oklch(34.1% 0.130 270.0);
Tailwind
colors: {
  custom: {
    50: '#6966a1',
    500: '#202e7a',
    950: '#000000',
  },
}
SCSS
$custom: #202e7a;
$custom-light: #6966a1;
$custom-dark: #000000;
JSON
{
  "hex": "#202e7a",
  "rgb": {
    "r": 32,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 230.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34085,
    "c": 0.12991,
    "h": 270
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#202E7A
secondary
#AD9E49
accent
#C946E2
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #202E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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