#202F88#202F88

#202F88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.148 H 269.6°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#202F88
RGBrgb(32, 47, 136)
HSLhsl(231, 62%, 33%)
HSVhsv(231, 76%, 53%)
CMYKcmyk(76.5%, 65.4%, 0%, 46.7%)
CIE-LABlab(24.05, 27.04, -51.36)
CIE-LCHlch(24.05, 58.04, 297.77°)
OKLaboklab(35.6% -0.001 -0.1485)
OKLCHoklch(35.6% 0.148 269.6)
XYZxyz(6.0546, 4.1170, 23.7634)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F88 #887920
analogous
#206388 #202F88 #452088
triadic
#202F88 #88202F #2F8820
tetradic
#202F88 #882063 #887920 #208845
square
#202F88 #882063 #887920 #208845
split-complementary
#202F88 #884520 #638820
monochromatic
#090D25 #141E56 #202F88 #2C40BA #4D61D5

Accessibility & contrast

On white

11.52
#202F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#202F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F88
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F88#FFFFFF#000000##FFFFFF
##202F881.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202f88;
/* rgb */ color: rgb(32, 47, 136);
/* oklch */ color: oklch(35.6% 0.148 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c67ac',
    500: '#202f88',
    950: '#000000',
  },
}
SCSS
$custom: #202f88;
$custom-light: #6c67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#202f88",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 231.346,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35597,
    "c": 0.14846,
    "h": 269.6
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#202F88
secondary
#B8A84C
accent
#CE43E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202F88

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

Preview Lab → · Contrast checker → · Palette generator →

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