#203151#203151

#203151 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.5% C 0.062 H 262.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#203151
RGBrgb(32, 49, 81)
HSLhsl(219, 43%, 22%)
HSVhsv(219, 60%, 32%)
CMYKcmyk(60.5%, 39.5%, 0%, 68.2%)
CIE-LABlab(20.43, 4.07, -21.69)
CIE-LCHlch(20.43, 22.07, 280.61°)
OKLaboklab(31.53% -0.0084 -0.0613)
OKLCHoklch(31.53% 0.062 262.2)
XYZxyz(3.1787, 3.0975, 8.2134)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203151 #514020
analogous
#204A51 #203151 #282051
triadic
#203151 #512031 #315120
tetradic
#203151 #51204A #514020 #205128
square
#203151 #51204A #514020 #205128
split-complementary
#203151 #512820 #4A5120
monochromatic
#090D16 #0F1625 #203151 #314C7D #4366A9

Accessibility & contrast

On white

12.97
#203151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#203151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203151
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203151#FFFFFF#000000##FFFFFF
##2031511.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243452
Deuteranopia (green-blind)
#1E2F50
Tritanopia (blue-blind)
#04383D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #203151;
/* rgb */ color: rgb(32, 49, 81);
/* oklch */ color: oklch(31.5% 0.062 262.2);
Tailwind
colors: {
  custom: {
    50: '#606882',
    500: '#203151',
    950: '#000000',
  },
}
SCSS
$custom: #203151;
$custom-light: #606882;
$custom-dark: #000000;
JSON
{
  "hex": "#203151",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 219.184,
    "s": 43.363,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31531,
    "c": 0.06192,
    "h": 262.2
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#203151
secondary
#857047
accent
#A755D3
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #203151

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

Preview Lab → · Contrast checker → · Palette generator →

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