#201857#201857

#201857 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.5% C 0.108 H 281.8°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#201857
RGBrgb(32, 24, 87)
HSLhsl(248, 57%, 22%)
HSVhsv(248, 72%, 34%)
CMYKcmyk(63.2%, 72.4%, 0%, 65.9%)
CIE-LABlab(13.52, 24.22, -36.84)
CIE-LCHlch(13.52, 44.09, 303.32°)
OKLaboklab(26.48% 0.0222 -0.106)
OKLCHoklch(26.48% 0.108 281.8)
XYZxyz(2.6421, 1.6483, 9.1939)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201857 #4F5718
analogous
#183057 #201857 #401857
triadic
#201857 #572018 #185720
tetradic
#201857 #571830 #4F5718 #185740
square
#201857 #571830 #4F5718 #185740
split-complementary
#201857 #574018 #305718
monochromatic
#090718 #0E0B27 #201857 #322587 #4332B7

Accessibility & contrast

On white

15.79
#201857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#201857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201857
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201857#FFFFFF#000000##FFFFFF
##2018571.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201857;
/* rgb */ color: rgb(32, 24, 87);
/* oklch */ color: oklch(26.5% 0.108 281.8);
Tailwind
colors: {
  custom: {
    50: '#635587',
    500: '#201857',
    950: '#000000',
  },
}
SCSS
$custom: #201857;
$custom-light: #635587;
$custom-dark: #000000;
JSON
{
  "hex": "#201857",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 247.619,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26479,
    "c": 0.10834,
    "h": 281.8
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#201857
secondary
#838E3D
accent
#E048CD
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #201857

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

Preview Lab → · Contrast checker → · Palette generator →

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