#202F71#202F71

#202F71 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.115 H 269.5°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#202F71
RGBrgb(32, 47, 113)
HSLhsl(229, 56%, 28%)
HSVhsv(229, 72%, 44%)
CMYKcmyk(71.7%, 58.4%, 0%, 55.7%)
CIE-LABlab(22.06, 18.05, -40.05)
CIE-LCHlch(22.06, 43.93, 294.27°)
OKLaboklab(33.49% -0.001 -0.1153)
OKLCHoklch(33.49% 0.115 269.5)
XYZxyz(4.5918, 3.5319, 16.0593)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F71 #716220
analogous
#205771 #202F71 #392071
triadic
#202F71 #71202F #2F7120
tetradic
#202F71 #712057 #716220 #207139
square
#202F71 #712057 #716220 #207139
split-complementary
#202F71 #713920 #577120
monochromatic
#070A18 #121B41 #202F71 #2E43A1 #425BC9

Accessibility & contrast

On white

12.31
#202F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#202F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F71
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F71#FFFFFF#000000##FFFFFF
##202F711.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202f71;
/* rgb */ color: rgb(32, 47, 113);
/* oklch */ color: oklch(33.5% 0.115 269.5);
Tailwind
colors: {
  custom: {
    50: '#67679a',
    500: '#202f71',
    950: '#000000',
  },
}
SCSS
$custom: #202f71;
$custom-light: #67679a;
$custom-dark: #000000;
JSON
{
  "hex": "#202f71",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 228.889,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33494,
    "c": 0.11527,
    "h": 269.5
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#202F71
secondary
#A59448
accent
#C349DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #202F71

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

Preview Lab → · Contrast checker → · Palette generator →

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