#201858#201858

#201858 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.110 H 281.6°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#201858
RGBrgb(32, 24, 88)
HSLhsl(248, 57%, 22%)
HSVhsv(248, 73%, 35%)
CMYKcmyk(63.6%, 72.7%, 0%, 65.5%)
CIE-LABlab(13.62, 24.58, -37.36)
CIE-LCHlch(13.62, 44.72, 303.34°)
OKLaboklab(26.58% 0.022 -0.1076)
OKLCHoklch(26.58% 0.11 281.6)
XYZxyz(2.6832, 1.6647, 9.4106)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201858 #505818
analogous
#183058 #201858 #401858
triadic
#201858 #582018 #185820
tetradic
#201858 #581830 #505818 #185840
square
#201858 #581830 #505818 #185840
split-complementary
#201858 #584018 #305818
monochromatic
#090718 #0F0B28 #201858 #312588 #4332B8

Accessibility & contrast

On white

15.75
#201858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201858
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201858#FFFFFF#000000##FFFFFF
##2018581.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002057
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #201858;
/* rgb */ color: rgb(32, 24, 88);
/* oklch */ color: oklch(26.6% 0.110 281.6);
Tailwind
colors: {
  custom: {
    50: '#635588',
    500: '#201858',
    950: '#000000',
  },
}
SCSS
$custom: #201858;
$custom-light: #635588;
$custom-dark: #000000;
JSON
{
  "hex": "#201858",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 247.5,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2658,
    "c": 0.10979,
    "h": 281.6
  },
  "luminance": 0.01665
}

Semantic roles & 50–950 ramp

primary
#201858
secondary
#848F3D
accent
#E047CD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #201858

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

Preview Lab → · Contrast checker → · Palette generator →

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