#202F91#202F91

#202F91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.161 H 269.5°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#202F91
RGBrgb(32, 47, 145)
HSLhsl(232, 64%, 35%)
HSVhsv(232, 78%, 57%)
CMYKcmyk(77.9%, 67.6%, 0%, 43.1%)
CIE-LABlab(24.90, 30.46, -55.56)
CIE-LCHlch(24.90, 63.36, 298.74°)
OKLaboklab(36.48% -0.0015 -0.1607)
OKLCHoklch(36.48% 0.161 269.5)
XYZxyz(6.7213, 4.3837, 27.2745)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F91 #918220
analogous
#206891 #202F91 #492091
triadic
#202F91 #91202F #2F9120
tetradic
#202F91 #912068 #918220 #209149
square
#202F91 #912068 #918220 #209149
split-complementary
#202F91 #914920 #689120
monochromatic
#0A0E2D #151F5F #202F91 #2B3FC3 #5264D9

Accessibility & contrast

On white

11.19
#202F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#202F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F91
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F91#FFFFFF#000000##FFFFFF
##202F911.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #202f91;
/* rgb */ color: rgb(32, 47, 145);
/* oklch */ color: oklch(36.5% 0.161 269.5);
Tailwind
colors: {
  custom: {
    50: '#6f67b2',
    500: '#202f91',
    950: '#000000',
  },
}
SCSS
$custom: #202f91;
$custom-light: #6f67b2;
$custom-dark: #000000;
JSON
{
  "hex": "#202f91",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 232.035,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36478,
    "c": 0.16076,
    "h": 269.5
  },
  "luminance": 0.04384
}

Semantic roles & 50–950 ramp

primary
#202F91
secondary
#BCAE51
accent
#D141E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #202F91

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

Preview Lab → · Contrast checker → · Palette generator →

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