#202F8F#202F8F

#202F8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.158 H 269.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#202F8F
RGBrgb(32, 47, 143)
HSLhsl(232, 63%, 34%)
HSVhsv(232, 78%, 56%)
CMYKcmyk(77.6%, 67.1%, 0%, 43.9%)
CIE-LABlab(24.71, 29.71, -54.63)
CIE-LCHlch(24.71, 62.19, 298.54°)
OKLaboklab(36.28% -0.0014 -0.158)
OKLCHoklch(36.28% 0.158 269.5)
XYZxyz(6.5684, 4.3226, 26.4694)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F8F #8F8020
analogous
#20678F #202F8F #49208F
triadic
#202F8F #8F202F #2F8F20
tetradic
#202F8F #8F2067 #8F8020 #208F49
square
#202F8F #8F2067 #8F8020 #208F49
split-complementary
#202F8F #8F4920 #678F20
monochromatic
#0A0E2B #151F5D #202F8F #2B3FC1 #5163D8

Accessibility & contrast

On white

11.26
#202F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#202F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F8F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F8F#FFFFFF#000000##FFFFFF
##202F8F1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #202f8f;
/* rgb */ color: rgb(32, 47, 143);
/* oklch */ color: oklch(36.3% 0.158 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e67b1',
    500: '#202f8f',
    950: '#000000',
  },
}
SCSS
$custom: #202f8f;
$custom-light: #6e67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#202f8f",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 231.892,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3628,
    "c": 0.15806,
    "h": 269.5
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#202F8F
secondary
#BBAD4F
accent
#D041E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #202F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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