#202F8B#202F8B

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

Color values

HEX#202F8B
RGBrgb(32, 47, 139)
HSLhsl(232, 63%, 34%)
HSVhsv(232, 77%, 55%)
CMYKcmyk(77%, 66.2%, 0%, 45.5%)
CIE-LABlab(24.33, 28.19, -52.77)
CIE-LCHlch(24.33, 59.82, 298.11°)
OKLaboklab(35.89% -0.0012 -0.1526)
OKLCHoklch(35.89% 0.153 269.6)
XYZxyz(6.2708, 4.2035, 24.9020)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F8B #8B7C20
analogous
#20648B #202F8B #46208B
triadic
#202F8B #8B202F #2F8B20
tetradic
#202F8B #8B2064 #8B7C20 #208B46
square
#202F8B #8B2064 #8B7C20 #208B46
split-complementary
#202F8B #8B4620 #648B20
monochromatic
#090D28 #151E59 #202F8B #2B40BD #4F62D6

Accessibility & contrast

On white

11.41
#202F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202F8B
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F8B#FFFFFF#000000##FFFFFF
##202F8B1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202f8b;
/* rgb */ color: rgb(32, 47, 139);
/* oklch */ color: oklch(35.9% 0.153 269.6);
Tailwind
colors: {
  custom: {
    50: '#6d67ae',
    500: '#202f8b',
    950: '#000000',
  },
}
SCSS
$custom: #202f8b;
$custom-light: #6d67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#202f8b",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 231.589,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35888,
    "c": 0.1526,
    "h": 269.6
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#202F8B
secondary
#BAAA4D
accent
#CF42E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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