#201A7E#201A7E

#201A7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.159 H 274.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#201A7E
RGBrgb(32, 26, 126)
HSLhsl(244, 66%, 30%)
HSVhsv(244, 79%, 49%)
CMYKcmyk(74.6%, 79.4%, 0%, 50.6%)
CIE-LABlab(18.15, 36.70, -54.77)
CIE-LCHlch(18.15, 65.93, 303.83°)
OKLaboklab(31.03% 0.0126 -0.1584)
OKLCHoklch(31.03% 0.159 274.6)
XYZxyz(4.7297, 2.5518, 19.9779)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A7E #787E1A
analogous
#1A467E #201A7E #521A7E
triadic
#201A7E #7E201A #1A7E20
tetradic
#201A7E #7E1A46 #787E1A #1A7E52
square
#201A7E #7E1A46 #787E1A #1A7E52
split-complementary
#201A7E #7E521A #467E1A
monochromatic
#060519 #13104B #201A7E #2D24B1 #453CD7

Accessibility & contrast

On white

13.90
#201A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#201A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A7E
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A7E#FFFFFF#000000##FFFFFF
##201A7E1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201a7e;
/* rgb */ color: rgb(32, 26, 126);
/* oklch */ color: oklch(31.0% 0.159 274.6);
Tailwind
colors: {
  custom: {
    50: '#6c59a5',
    500: '#201a7e',
    950: '#000000',
  },
}
SCSS
$custom: #201a7e;
$custom-light: #6c59a5;
$custom-dark: #000000;
JSON
{
  "hex": "#201a7e",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 243.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31034,
    "c": 0.1589,
    "h": 274.6
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#201A7E
secondary
#ABB242
accent
#E93FDF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #201A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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