#202F89#202F89

#202F89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.150 H 269.6°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#202F89
RGBrgb(32, 47, 137)
HSLhsl(231, 62%, 33%)
HSVhsv(231, 77%, 54%)
CMYKcmyk(76.6%, 65.7%, 0%, 46.3%)
CIE-LABlab(24.15, 27.42, -51.83)
CIE-LCHlch(24.15, 58.63, 297.88°)
OKLaboklab(35.69% -0.0011 -0.1498)
OKLCHoklch(35.69% 0.15 269.6)
XYZxyz(6.1260, 4.1456, 24.1394)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F89 #897A20
analogous
#206389 #202F89 #462089
triadic
#202F89 #89202F #2F8920
tetradic
#202F89 #892063 #897A20 #208946
square
#202F89 #892063 #897A20 #208946
split-complementary
#202F89 #894620 #638920
monochromatic
#090D26 #141E57 #202F89 #2C40BB #4E61D6

Accessibility & contrast

On white

11.48
#202F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#202F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F89
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F89#FFFFFF#000000##FFFFFF
##202F891.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202f89;
/* rgb */ color: rgb(32, 47, 137);
/* oklch */ color: oklch(35.7% 0.150 269.6);
Tailwind
colors: {
  custom: {
    50: '#6d67ac',
    500: '#202f89',
    950: '#000000',
  },
}
SCSS
$custom: #202f89;
$custom-light: #6d67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#202f89",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 231.429,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35694,
    "c": 0.14984,
    "h": 269.6
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#202F89
secondary
#B9A94C
accent
#CE43E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202F89

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

Preview Lab → · Contrast checker → · Palette generator →

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