#202F8D#202F8D

#202F8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.155 H 269.5°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#202F8D
RGBrgb(32, 47, 141)
HSLhsl(232, 63%, 34%)
HSVhsv(232, 77%, 55%)
CMYKcmyk(77.3%, 66.7%, 0%, 44.7%)
CIE-LABlab(24.52, 28.95, -53.70)
CIE-LCHlch(24.52, 61.01, 298.33°)
OKLaboklab(36.08% -0.0013 -0.1553)
OKLCHoklch(36.08% 0.155 269.5)
XYZxyz(6.4182, 4.2625, 25.6786)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F8D #8D7E20
analogous
#20668D #202F8D #48208D
triadic
#202F8D #8D202F #2F8D20
tetradic
#202F8D #8D2066 #8D7E20 #208D48
square
#202F8D #8D2066 #8D7E20 #208D48
split-complementary
#202F8D #8D4820 #668D20
monochromatic
#090E29 #151E5B #202F8D #2B40BF #5063D7

Accessibility & contrast

On white

11.34
#202F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#202F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F8D
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F8D#FFFFFF#000000##FFFFFF
##202F8D1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #202f8d;
/* rgb */ color: rgb(32, 47, 141);
/* oklch */ color: oklch(36.1% 0.155 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e67af',
    500: '#202f8d',
    950: '#000000',
  },
}
SCSS
$custom: #202f8d;
$custom-light: #6e67af;
$custom-dark: #000000;
JSON
{
  "hex": "#202f8d",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 231.743,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36083,
    "c": 0.15534,
    "h": 269.5
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#202F8D
secondary
#BAAC4E
accent
#CF42E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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