#203071#203071

#203071 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.114 H 269.0°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#203071
RGBrgb(32, 48, 113)
HSLhsl(228, 56%, 28%)
HSVhsv(228, 72%, 44%)
CMYKcmyk(71.7%, 57.5%, 0%, 55.7%)
CIE-LABlab(22.35, 17.34, -39.58)
CIE-LCHlch(22.35, 43.22, 293.66°)
OKLaboklab(33.71% -0.0019 -0.1139)
OKLCHoklch(33.71% 0.114 269)
XYZxyz(4.6322, 3.6128, 16.0728)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203071 #716120
analogous
#205871 #203071 #382071
triadic
#203071 #712030 #307120
tetradic
#203071 #712058 #716120 #207138
square
#203071 #712058 #716120 #207138
split-complementary
#203071 #713820 #587120
monochromatic
#070A18 #121C41 #203071 #2E44A1 #425DC9

Accessibility & contrast

On white

12.19
#203071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#203071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203071
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203071#FFFFFF#000000##FFFFFF
##2030711.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #203071;
/* rgb */ color: rgb(32, 48, 113);
/* oklch */ color: oklch(33.7% 0.114 269.0);
Tailwind
colors: {
  custom: {
    50: '#67689a',
    500: '#203071',
    950: '#000000',
  },
}
SCSS
$custom: #203071;
$custom-light: #67689a;
$custom-dark: #000000;
JSON
{
  "hex": "#203071",
  "rgb": {
    "r": 32,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 228.148,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33711,
    "c": 0.1139,
    "h": 269
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#203071
secondary
#A59248
accent
#C149DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #203071

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

Preview Lab → · Contrast checker → · Palette generator →

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