#202F96#202F96

#202F96 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.167 H 269.3°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#202F96
RGBrgb(32, 47, 150)
HSLhsl(232, 65%, 36%)
HSVhsv(232, 79%, 59%)
CMYKcmyk(78.7%, 68.7%, 0%, 41.2%)
CIE-LABlab(25.39, 32.34, -57.84)
CIE-LCHlch(25.39, 66.27, 299.21°)
OKLaboklab(36.98% -0.0019 -0.1674)
OKLCHoklch(36.98% 0.167 269.3)
XYZxyz(7.1153, 4.5413, 29.3498)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F96 #968720
analogous
#206A96 #202F96 #4C2096
triadic
#202F96 #96202F #2F9620
tetradic
#202F96 #96206A #968720 #20964C
square
#202F96 #96206A #968720 #20964C
split-complementary
#202F96 #964C20 #6A9620
monochromatic
#0A0F31 #151F64 #202F96 #2B3FC8 #5666DB

Accessibility & contrast

On white

11.00
#202F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#202F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F96
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F96#FFFFFF#000000##FFFFFF
##202F961.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #202f96;
/* rgb */ color: rgb(32, 47, 150);
/* oklch */ color: oklch(37.0% 0.167 269.3);
Tailwind
colors: {
  custom: {
    50: '#7067b6',
    500: '#202f96',
    950: '#000000',
  },
}
SCSS
$custom: #202f96;
$custom-light: #7067b6;
$custom-dark: #000000;
JSON
{
  "hex": "#202f96",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 232.373,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36978,
    "c": 0.16744,
    "h": 269.3
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#202F96
secondary
#BEB153
accent
#D240E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #202F96

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

Preview Lab → · Contrast checker → · Palette generator →

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