#202F76#202F76

#202F76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.123 H 269.6°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#202F76
RGBrgb(32, 47, 118)
HSLhsl(230, 57%, 29%)
HSVhsv(230, 73%, 46%)
CMYKcmyk(72.9%, 60.2%, 0%, 53.7%)
CIE-LABlab(22.47, 20.03, -42.58)
CIE-LCHlch(22.47, 47.06, 295.19°)
OKLaboklab(33.93% -0.0008 -0.1227)
OKLCHoklch(33.93% 0.123 269.6)
XYZxyz(4.8811, 3.6476, 17.5829)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F76 #766720
analogous
#205A76 #202F76 #3C2076
triadic
#202F76 #76202F #2F7620
tetradic
#202F76 #76205A #766720 #20763C
square
#202F76 #76205A #766720 #20763C
split-complementary
#202F76 #763C20 #5A7620
monochromatic
#070A18 #131C46 #202F76 #2D42A6 #445CCC

Accessibility & contrast

On white

12.14
#202F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#202F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F76
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F76#FFFFFF#000000##FFFFFF
##202F761.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202f76;
/* rgb */ color: rgb(32, 47, 118);
/* oklch */ color: oklch(33.9% 0.123 269.6);
Tailwind
colors: {
  custom: {
    50: '#68679e',
    500: '#202f76',
    950: '#000000',
  },
}
SCSS
$custom: #202f76;
$custom-light: #68679e;
$custom-dark: #000000;
JSON
{
  "hex": "#202f76",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 229.535,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33931,
    "c": 0.12272,
    "h": 269.6
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#202F76
secondary
#A99848
accent
#C647E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #202F76

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

Preview Lab → · Contrast checker → · Palette generator →

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