#202F70#202F70

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

Color values

HEX#202F70
RGBrgb(32, 47, 112)
HSLhsl(229, 56%, 28%)
HSVhsv(229, 71%, 44%)
CMYKcmyk(71.4%, 58%, 0%, 56.1%)
CIE-LABlab(21.98, 17.66, -39.54)
CIE-LCHlch(21.98, 43.30, 294.07°)
OKLaboklab(33.41% -0.0011 -0.1138)
OKLCHoklch(33.41% 0.114 269.5)
XYZxyz(4.5358, 3.5095, 15.7645)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F70 #706120
analogous
#205770 #202F70 #392070
triadic
#202F70 #70202F #2F7020
tetradic
#202F70 #702057 #706120 #207039
square
#202F70 #702057 #706120 #207039
split-complementary
#202F70 #703920 #577020
monochromatic
#070A18 #121B40 #202F70 #2E43A0 #425BC9

Accessibility & contrast

On white

12.34
#202F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#202F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F70
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F70#FFFFFF#000000##FFFFFF
##202F701.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202f70;
/* rgb */ color: rgb(32, 47, 112);
/* oklch */ color: oklch(33.4% 0.114 269.5);
Tailwind
colors: {
  custom: {
    50: '#66679a',
    500: '#202f70',
    950: '#000000',
  },
}
SCSS
$custom: #202f70;
$custom-light: #66679a;
$custom-dark: #000000;
JSON
{
  "hex": "#202f70",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 228.75,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33408,
    "c": 0.11377,
    "h": 269.5
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#202F70
secondary
#A49348
accent
#C349DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #202F70

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

Preview Lab → · Contrast checker → · Palette generator →

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