#202E7B#202E7B

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

Color values

HEX#202E7B
RGBrgb(32, 46, 123)
HSLhsl(231, 59%, 30%)
HSVhsv(231, 74%, 48%)
CMYKcmyk(74%, 62.6%, 0%, 51.8%)
CIE-LABlab(22.62, 22.69, -45.52)
CIE-LCHlch(22.62, 50.86, 296.50°)
OKLaboklab(34.18% 0.0001 -0.1314)
OKLCHoklch(34.18% 0.131 270)
XYZxyz(5.1466, 3.6906, 19.1762)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202E7B #7B6D20
analogous
#205B7B #202E7B #3F207B
triadic
#202E7B #7B202E #2E7B20
tetradic
#202E7B #7B205B #7B6D20 #207B3F
square
#202E7B #7B205B #7B6D20 #207B3F
split-complementary
#202E7B #7B3F20 #5B7B20
monochromatic
#070A1A #131C4A #202E7B #2D40AC #465BCF

Accessibility & contrast

On white

12.08
#202E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#202E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202E7B
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202E7B#FFFFFF#000000##FFFFFF
##202E7B1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202e7b;
/* rgb */ color: rgb(32, 46, 123);
/* oklch */ color: oklch(34.2% 0.131 270.0);
Tailwind
colors: {
  custom: {
    50: '#6966a2',
    500: '#202e7b',
    950: '#000000',
  },
}
SCSS
$custom: #202e7b;
$custom-light: #6966a2;
$custom-dark: #000000;
JSON
{
  "hex": "#202e7b",
  "rgb": {
    "r": 32,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 230.769,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34177,
    "c": 0.13136,
    "h": 270
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#202E7B
secondary
#AE9F49
accent
#CA46E2
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #202E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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