#202F8E#202F8E

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

Color values

HEX#202F8E
RGBrgb(32, 47, 142)
HSLhsl(232, 63%, 34%)
HSVhsv(232, 77%, 56%)
CMYKcmyk(77.5%, 66.9%, 0%, 44.3%)
CIE-LABlab(24.62, 29.33, -54.17)
CIE-LCHlch(24.62, 61.60, 298.43°)
OKLaboklab(36.18% -0.0013 -0.1567)
OKLCHoklch(36.18% 0.157 269.5)
XYZxyz(6.4930, 4.2924, 26.0723)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F8E #8E7F20
analogous
#20668E #202F8E #48208E
triadic
#202F8E #8E202F #2F8E20
tetradic
#202F8E #8E2066 #8E7F20 #208E48
square
#202F8E #8E2066 #8E7F20 #208E48
split-complementary
#202F8E #8E4820 #668E20
monochromatic
#090E2A #151E5C #202F8E #2B40C0 #5163D8

Accessibility & contrast

On white

11.30
#202F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#202F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F8E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F8E#FFFFFF#000000##FFFFFF
##202F8E1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #202f8e;
/* rgb */ color: rgb(32, 47, 142);
/* oklch */ color: oklch(36.2% 0.157 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e67b0',
    500: '#202f8e',
    950: '#000000',
  },
}
SCSS
$custom: #202f8e;
$custom-light: #6e67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#202f8e",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 231.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36181,
    "c": 0.1567,
    "h": 269.5
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#202F8E
secondary
#BBAC4F
accent
#D042E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #202F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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