#202F7A#202F7A

#202F7A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.129 H 269.7°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#202F7A
RGBrgb(32, 47, 122)
HSLhsl(230, 58%, 30%)
HSVhsv(230, 74%, 48%)
CMYKcmyk(73.8%, 61.5%, 0%, 52.2%)
CIE-LABlab(22.81, 21.60, -44.58)
CIE-LCHlch(22.81, 49.54, 295.85°)
OKLaboklab(34.29% -0.0007 -0.1286)
OKLCHoklch(34.29% 0.129 269.7)
XYZxyz(5.1238, 3.7447, 18.8614)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F7A #7A6B20
analogous
#205C7A #202F7A #3E207A
triadic
#202F7A #7A202F #2F7A20
tetradic
#202F7A #7A205C #7A6B20 #207A3E
square
#202F7A #7A205C #7A6B20 #207A3E
split-complementary
#202F7A #7A3E20 #5C7A20
monochromatic
#070A19 #131C4A #202F7A #2D42AA #465DCE

Accessibility & contrast

On white

12.01
#202F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#202F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F7A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F7A#FFFFFF#000000##FFFFFF
##202F7A1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202f7a;
/* rgb */ color: rgb(32, 47, 122);
/* oklch */ color: oklch(34.3% 0.129 269.7);
Tailwind
colors: {
  custom: {
    50: '#6967a1',
    500: '#202f7a',
    950: '#000000',
  },
}
SCSS
$custom: #202f7a;
$custom-light: #6967a1;
$custom-dark: #000000;
JSON
{
  "hex": "#202f7a",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 230,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3429,
    "c": 0.12858,
    "h": 269.7
  },
  "luminance": 0.03745
}

Semantic roles & 50–950 ramp

primary
#202F7A
secondary
#AD9C49
accent
#C846E2
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #202F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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