#201E5A#201E5A

#201E5A is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.104 H 278.7°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#201E5A
RGBrgb(32, 30, 90)
HSLhsl(242, 50%, 24%)
HSVhsv(242, 67%, 35%)
CMYKcmyk(64.4%, 66.7%, 0%, 64.7%)
CIE-LABlab(15.35, 21.20, -35.88)
CIE-LCHlch(15.35, 41.68, 300.58°)
OKLaboklab(27.9% 0.0158 -0.1032)
OKLCHoklch(27.9% 0.104 278.7)
XYZxyz(2.9048, 1.9736, 9.8987)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E5A #585A1E
analogous
#1E3A5A #201E5A #3E1E5A
triadic
#201E5A #5A201E #1E5A20
tetradic
#201E5A #5A1E3A #585A1E #1E5A3E
square
#201E5A #5A1E3A #585A1E #1E5A3E
split-complementary
#201E5A #5A3E1E #3A5A1E
monochromatic
#080817 #100F2C #201E5A #302D88 #413DB6

Accessibility & contrast

On white

15.06
#201E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#201E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201E5A
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E5A#FFFFFF#000000##FFFFFF
##201E5A1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#002459
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201e5a;
/* rgb */ color: rgb(32, 30, 90);
/* oklch */ color: oklch(27.9% 0.104 278.7);
Tailwind
colors: {
  custom: {
    50: '#635a89',
    500: '#201e5a',
    950: '#000000',
  },
}
SCSS
$custom: #201e5a;
$custom-light: #635a89;
$custom-dark: #000000;
JSON
{
  "hex": "#201e5a",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 242,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27896,
    "c": 0.10439,
    "h": 278.7
  },
  "luminance": 0.01974
}

Semantic roles & 50–950 ramp

primary
#201E5A
secondary
#8C8F45
accent
#DA4ED5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #201E5A

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

Preview Lab → · Contrast checker → · Palette generator →

#201E5A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva