#202D70#202D70

#202D70 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.117 H 270.4°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#202D70
RGBrgb(32, 45, 112)
HSLhsl(230, 56%, 28%)
HSVhsv(230, 71%, 44%)
CMYKcmyk(71.4%, 59.8%, 0%, 56.1%)
CIE-LABlab(21.41, 19.08, -40.47)
CIE-LCHlch(21.41, 44.74, 295.24°)
OKLaboklab(32.98% 0.0008 -0.1165)
OKLCHoklch(32.98% 0.117 270.4)
XYZxyz(4.4577, 3.3533, 15.7384)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D70 #706320
analogous
#205570 #202D70 #3B2070
triadic
#202D70 #70202D #2D7020
tetradic
#202D70 #702055 #706320 #20703B
square
#202D70 #702055 #706320 #20703B
split-complementary
#202D70 #703B20 #557020
monochromatic
#070A18 #121A40 #202D70 #2E40A0 #4258C9

Accessibility & contrast

On white

12.57
#202D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#202D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D70
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D70#FFFFFF#000000##FFFFFF
##202D701.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202d70;
/* rgb */ color: rgb(32, 45, 112);
/* oklch */ color: oklch(33.0% 0.117 270.4);
Tailwind
colors: {
  custom: {
    50: '#67659a',
    500: '#202d70',
    950: '#000000',
  },
}
SCSS
$custom: #202d70;
$custom-light: #67659a;
$custom-dark: #000000;
JSON
{
  "hex": "#202d70",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 230.25,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3298,
    "c": 0.11653,
    "h": 270.4
  },
  "luminance": 0.03354
}

Semantic roles & 50–950 ramp

primary
#202D70
secondary
#A49548
accent
#C749DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #202D70

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

Preview Lab → · Contrast checker → · Palette generator →

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