#201957#201957

#201957 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.107 H 281.4°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#201957
RGBrgb(32, 25, 87)
HSLhsl(247, 55%, 22%)
HSVhsv(247, 71%, 34%)
CMYKcmyk(63.2%, 71.3%, 0%, 65.9%)
CIE-LABlab(13.77, 23.54, -36.44)
CIE-LCHlch(13.77, 43.38, 302.87°)
OKLaboklab(26.66% 0.0212 -0.1049)
OKLCHoklch(26.66% 0.107 281.4)
XYZxyz(2.6631, 1.6903, 9.2009)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201957 #505719
analogous
#193157 #201957 #3F1957
triadic
#201957 #572019 #195720
tetradic
#201957 #571931 #505719 #19573F
square
#201957 #571931 #505719 #19573F
split-complementary
#201957 #573F19 #315719
monochromatic
#090718 #0F0B27 #201957 #312787 #4334B6

Accessibility & contrast

On white

15.70
#201957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#201957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201957
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201957#FFFFFF#000000##FFFFFF
##2019571.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#002156
Tritanopia (blue-blind)
#012935
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #201957;
/* rgb */ color: rgb(32, 25, 87);
/* oklch */ color: oklch(26.7% 0.107 281.4);
Tailwind
colors: {
  custom: {
    50: '#635687',
    500: '#201957',
    950: '#000000',
  },
}
SCSS
$custom: #201957;
$custom-light: #635687;
$custom-dark: #000000;
JSON
{
  "hex": "#201957",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 246.774,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26659,
    "c": 0.10698,
    "h": 281.4
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#201957
secondary
#848D3E
accent
#DF49CE
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #201957

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

Preview Lab → · Contrast checker → · Palette generator →

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