#202F8A#202F8A

#202F8A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.151 H 269.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#202F8A
RGBrgb(32, 47, 138)
HSLhsl(232, 62%, 33%)
HSVhsv(232, 77%, 54%)
CMYKcmyk(76.8%, 65.9%, 0%, 45.9%)
CIE-LABlab(24.24, 27.80, -52.30)
CIE-LCHlch(24.24, 59.23, 298.00°)
OKLaboklab(35.79% -0.0011 -0.1512)
OKLCHoklch(35.79% 0.151 269.6)
XYZxyz(6.1980, 4.1744, 24.5189)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F8A #8A7B20
analogous
#20648A #202F8A #46208A
triadic
#202F8A #8A202F #2F8A20
tetradic
#202F8A #8A2064 #8A7B20 #208A46
square
#202F8A #8A2064 #8A7B20 #208A46
split-complementary
#202F8A #8A4620 #648A20
monochromatic
#090D27 #141E58 #202F8A #2C40BC #4E62D6

Accessibility & contrast

On white

11.44
#202F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#202F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F8A
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F8A#FFFFFF#000000##FFFFFF
##202F8A1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #202f8a;
/* rgb */ color: rgb(32, 47, 138);
/* oklch */ color: oklch(35.8% 0.151 269.6);
Tailwind
colors: {
  custom: {
    50: '#6d67ad',
    500: '#202f8a',
    950: '#000000',
  },
}
SCSS
$custom: #202f8a;
$custom-light: #6d67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#202f8a",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 231.509,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35791,
    "c": 0.15122,
    "h": 269.6
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#202F8A
secondary
#B9AA4D
accent
#CE42E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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