#202E71#202E71

#202E71 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.117 H 270.0°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#202E71
RGBrgb(32, 46, 113)
HSLhsl(230, 56%, 28%)
HSVhsv(230, 72%, 44%)
CMYKcmyk(71.7%, 59.3%, 0%, 55.7%)
CIE-LABlab(21.77, 18.76, -40.51)
CIE-LCHlch(21.77, 44.65, 294.85°)
OKLaboklab(33.28% -0.0001 -0.1166)
OKLCHoklch(33.28% 0.117 270)
XYZxyz(4.5523, 3.4529, 16.0461)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202E71 #716320
analogous
#205671 #202E71 #3A2071
triadic
#202E71 #71202E #2E7120
tetradic
#202E71 #712056 #716320 #20713A
square
#202E71 #712056 #716320 #20713A
split-complementary
#202E71 #713A20 #567120
monochromatic
#070A18 #121B41 #202E71 #2E41A1 #4259C9

Accessibility & contrast

On white

12.42
#202E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#202E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202E71
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202E71#FFFFFF#000000##FFFFFF
##202E711.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202e71;
/* rgb */ color: rgb(32, 46, 113);
/* oklch */ color: oklch(33.3% 0.117 270.0);
Tailwind
colors: {
  custom: {
    50: '#67669a',
    500: '#202e71',
    950: '#000000',
  },
}
SCSS
$custom: #202e71;
$custom-light: #67669a;
$custom-dark: #000000;
JSON
{
  "hex": "#202e71",
  "rgb": {
    "r": 32,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 229.63,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3328,
    "c": 0.11665,
    "h": 270
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#202E71
secondary
#A59548
accent
#C549DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #202E71

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

Preview Lab → · Contrast checker → · Palette generator →

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