#203157#203157

#203157 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.9% C 0.072 H 264.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#203157
RGBrgb(32, 49, 87)
HSLhsl(221, 46%, 23%)
HSVhsv(221, 63%, 34%)
CMYKcmyk(63.2%, 43.7%, 0%, 65.9%)
CIE-LABlab(20.80, 6.37, -25.11)
CIE-LCHlch(20.80, 25.91, 284.23°)
OKLaboklab(31.93% -0.0068 -0.0713)
OKLCHoklch(31.93% 0.072 264.5)
XYZxyz(3.4137, 3.1915, 9.4511)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203157 #574620
analogous
#204C57 #203157 #2A2057
triadic
#203157 #572031 #315720
tetradic
#203157 #57204C #574620 #20572A
square
#203157 #57204C #574620 #20572A
split-complementary
#203157 #572A20 #4C5720
monochromatic
#080D16 #10182A #203157 #304A84 #4163B0

Accessibility & contrast

On white

12.82
#203157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#203157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203157
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203157#FFFFFF#000000##FFFFFF
##2031571.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213558
Deuteranopia (green-blind)
#193056
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #203157;
/* rgb */ color: rgb(32, 49, 87);
/* oklch */ color: oklch(31.9% 0.072 264.5);
Tailwind
colors: {
  custom: {
    50: '#616886',
    500: '#203157',
    950: '#000000',
  },
}
SCSS
$custom: #203157;
$custom-light: #616886;
$custom-dark: #000000;
JSON
{
  "hex": "#203157",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 87
  },
  "hsl": {
    "h": 221.455,
    "s": 46.218,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31933,
    "c": 0.07167,
    "h": 264.5
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#203157
secondary
#8B7647
accent
#AD52D6
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060B
muted
#797A7C

Preview Lab

Preview with #203157

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

Preview Lab → · Contrast checker → · Palette generator →

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