#202F99#202F99

#202F99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.171 H 269.3°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#202F99
RGBrgb(32, 47, 153)
HSLhsl(233, 65%, 36%)
HSVhsv(233, 79%, 60%)
CMYKcmyk(79.1%, 69.3%, 0%, 40%)
CIE-LABlab(25.68, 33.46, -59.19)
CIE-LCHlch(25.68, 68.00, 299.47°)
OKLaboklab(37.28% -0.0022 -0.1714)
OKLCHoklch(37.28% 0.171 269.3)
XYZxyz(7.3600, 4.6392, 30.6384)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F99 #998A20
analogous
#206C99 #202F99 #4E2099
triadic
#202F99 #99202F #2F9920
tetradic
#202F99 #99206C #998A20 #20994E
square
#202F99 #99206C #998A20 #20994E
split-complementary
#202F99 #994E20 #6C9920
monochromatic
#0B1034 #151F66 #202F99 #2B3FCC #5768DC

Accessibility & contrast

On white

10.89
#202F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#202F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F99
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F99#FFFFFF#000000##FFFFFF
##202F991.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #202f99;
/* rgb */ color: rgb(32, 47, 153);
/* oklch */ color: oklch(37.3% 0.171 269.3);
Tailwind
colors: {
  custom: {
    50: '#7168b8',
    500: '#202f99',
    950: '#000000',
  },
}
SCSS
$custom: #202f99;
$custom-light: #7168b8;
$custom-dark: #000000;
JSON
{
  "hex": "#202f99",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 232.562,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37282,
    "c": 0.17139,
    "h": 269.3
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#202F99
secondary
#C0B355
accent
#D33FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #202F99

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

Preview Lab → · Contrast checker → · Palette generator →

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