#201958#201958

#201958 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.8% C 0.108 H 281.2°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#201958
RGBrgb(32, 25, 88)
HSLhsl(247, 56%, 22%)
HSVhsv(247, 72%, 35%)
CMYKcmyk(63.6%, 71.6%, 0%, 65.5%)
CIE-LABlab(13.87, 23.91, -36.96)
CIE-LCHlch(13.87, 44.01, 302.90°)
OKLaboklab(26.76% 0.021 -0.1064)
OKLCHoklch(26.76% 0.108 281.2)
XYZxyz(2.7042, 1.7067, 9.4176)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201958 #515819
analogous
#193158 #201958 #401958
triadic
#201958 #582019 #195820
tetradic
#201958 #581931 #515819 #195840
square
#201958 #581931 #515819 #195840
split-complementary
#201958 #584019 #315819
monochromatic
#090718 #0F0B28 #201958 #312788 #4334B7

Accessibility & contrast

On white

15.66
#201958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201958
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201958#FFFFFF#000000##FFFFFF
##2019581.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#002157
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #201958;
/* rgb */ color: rgb(32, 25, 88);
/* oklch */ color: oklch(26.8% 0.108 281.2);
Tailwind
colors: {
  custom: {
    50: '#635688',
    500: '#201958',
    950: '#000000',
  },
}
SCSS
$custom: #201958;
$custom-light: #635688;
$custom-dark: #000000;
JSON
{
  "hex": "#201958",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 246.667,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26759,
    "c": 0.10843,
    "h": 281.2
  },
  "luminance": 0.01707
}

Semantic roles & 50–950 ramp

primary
#201958
secondary
#858E3E
accent
#DF49CE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #201958

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

Preview Lab → · Contrast checker → · Palette generator →

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