#202B70#202B70

#202B70 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.119 H 271.3°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#202B70
RGBrgb(32, 43, 112)
HSLhsl(232, 56%, 28%)
HSVhsv(232, 71%, 44%)
CMYKcmyk(71.4%, 61.6%, 0%, 56.1%)
CIE-LABlab(20.84, 20.49, -41.38)
CIE-LCHlch(20.84, 46.18, 296.34°)
OKLaboklab(32.56% 0.0026 -0.1192)
OKLCHoklch(32.56% 0.119 271.3)
XYZxyz(4.3832, 3.2043, 15.7136)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B70 #706520
analogous
#205370 #202B70 #3D2070
triadic
#202B70 #70202B #2B7020
tetradic
#202B70 #702053 #706520 #20703D
square
#202B70 #702053 #706520 #20703D
split-complementary
#202B70 #703D20 #537020
monochromatic
#070918 #121940 #202B70 #2E3DA0 #4254C9

Accessibility & contrast

On white

12.80
#202B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#202B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202B70
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B70#FFFFFF#000000##FFFFFF
##202B701.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202b70;
/* rgb */ color: rgb(32, 43, 112);
/* oklch */ color: oklch(32.6% 0.119 271.3);
Tailwind
colors: {
  custom: {
    50: '#67649a',
    500: '#202b70',
    950: '#000000',
  },
}
SCSS
$custom: #202b70;
$custom-light: #67649a;
$custom-dark: #000000;
JSON
{
  "hex": "#202b70",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 231.75,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3256,
    "c": 0.11927,
    "h": 271.3
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#202B70
secondary
#A49748
accent
#CA49DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202B70

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

Preview Lab → · Contrast checker → · Palette generator →

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