#203170#203170

#203170 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.111 H 268.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#203170
RGBrgb(32, 49, 112)
HSLhsl(227, 56%, 28%)
HSVhsv(227, 71%, 44%)
CMYKcmyk(71.4%, 56.3%, 0%, 56.1%)
CIE-LABlab(22.56, 16.24, -38.60)
CIE-LCHlch(22.56, 41.87, 292.82°)
OKLaboklab(33.85% -0.003 -0.111)
OKLCHoklch(33.85% 0.111 268.5)
XYZxyz(4.6176, 3.6731, 15.7917)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203170 #705F20
analogous
#205970 #203170 #372070
triadic
#203170 #702031 #317020
tetradic
#203170 #702059 #705F20 #207037
square
#203170 #702059 #705F20 #207037
split-complementary
#203170 #703720 #597020
monochromatic
#070A18 #121C40 #203170 #2E46A0 #425EC9

Accessibility & contrast

On white

12.11
#203170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#203170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203170
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203170#FFFFFF#000000##FFFFFF
##2031701.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043A72
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #203170;
/* rgb */ color: rgb(32, 49, 112);
/* oklch */ color: oklch(33.8% 0.111 268.5);
Tailwind
colors: {
  custom: {
    50: '#66689a',
    500: '#203170',
    950: '#000000',
  },
}
SCSS
$custom: #203170;
$custom-light: #66689a;
$custom-dark: #000000;
JSON
{
  "hex": "#203170",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 227.25,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33845,
    "c": 0.11101,
    "h": 268.5
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#203170
secondary
#A49048
accent
#BF49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #203170

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

Preview Lab → · Contrast checker → · Palette generator →

#203170 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva