#201A7B#201A7B

#201A7B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.155 H 274.9°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#201A7B
RGBrgb(32, 26, 123)
HSLhsl(244, 65%, 29%)
HSVhsv(244, 79%, 48%)
CMYKcmyk(74%, 78.9%, 0%, 51.8%)
CIE-LABlab(17.81, 35.68, -53.42)
CIE-LCHlch(17.81, 64.24, 303.74°)
OKLaboklab(30.69% 0.0133 -0.1545)
OKLCHoklch(30.69% 0.155 274.9)
XYZxyz(4.5390, 2.4755, 18.9737)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A7B #757B1A
analogous
#1A457B #201A7B #511A7B
triadic
#201A7B #7B201A #1A7B20
tetradic
#201A7B #7B1A45 #757B1A #1A7B51
square
#201A7B #7B1A45 #757B1A #1A7B51
split-complementary
#201A7B #7B511A #457B1A
monochromatic
#070519 #130F48 #201A7B #2D25AE #443AD5

Accessibility & contrast

On white

14.04
#201A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#201A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A7B
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A7B#FFFFFF#000000##FFFFFF
##201A7B1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201a7b;
/* rgb */ color: rgb(32, 26, 123);
/* oklch */ color: oklch(30.7% 0.155 274.9);
Tailwind
colors: {
  custom: {
    50: '#6b58a2',
    500: '#201a7b',
    950: '#000000',
  },
}
SCSS
$custom: #201a7b;
$custom-light: #6b58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#201a7b",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 243.711,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30691,
    "c": 0.15506,
    "h": 274.9
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#201A7B
secondary
#A8AF42
accent
#E840DE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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