#201758#201758

#201758 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.4% C 0.111 H 281.9°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#201758
RGBrgb(32, 23, 88)
HSLhsl(248, 59%, 22%)
HSVhsv(248, 74%, 35%)
CMYKcmyk(63.6%, 73.9%, 0%, 65.5%)
CIE-LABlab(13.38, 25.23, -37.75)
CIE-LCHlch(13.38, 45.41, 303.76°)
OKLaboklab(26.41% 0.023 -0.1087)
OKLCHoklch(26.41% 0.111 281.9)
XYZxyz(2.6630, 1.6243, 9.4038)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201758 #4F5817
analogous
#172F58 #201758 #411758
triadic
#201758 #582017 #175820
tetradic
#201758 #58172F #4F5817 #175841
square
#201758 #58172F #4F5817 #175841
split-complementary
#201758 #584117 #2F5817
monochromatic
#090618 #0E0A27 #201758 #322489 #4330B9

Accessibility & contrast

On white

15.85
#201758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#201758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201758
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201758#FFFFFF#000000##FFFFFF
##2017581.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201758;
/* rgb */ color: rgb(32, 23, 88);
/* oklch */ color: oklch(26.4% 0.111 281.9);
Tailwind
colors: {
  custom: {
    50: '#635588',
    500: '#201758',
    950: '#000000',
  },
}
SCSS
$custom: #201758;
$custom-light: #635588;
$custom-dark: #000000;
JSON
{
  "hex": "#201758",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 248.308,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26406,
    "c": 0.11112,
    "h": 281.9
  },
  "luminance": 0.01624
}

Semantic roles & 50–950 ramp

primary
#201758
secondary
#838F3C
accent
#E246CC
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #201758

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

Preview Lab → · Contrast checker → · Palette generator →

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