#201E7B#201E7B

#201E7B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.151 H 274.2°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#201E7B
RGBrgb(32, 30, 123)
HSLhsl(241, 61%, 30%)
HSVhsv(241, 76%, 48%)
CMYKcmyk(74%, 75.6%, 0%, 51.8%)
CIE-LABlab(18.65, 33.31, -52.03)
CIE-LCHlch(18.65, 61.78, 302.62°)
OKLaboklab(31.29% 0.0112 -0.1505)
OKLCHoklch(31.29% 0.151 274.2)
XYZxyz(4.6339, 2.6652, 19.0053)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E7B #797B1E
analogous
#1E4B7B #201E7B #4E1E7B
triadic
#201E7B #7B201E #1E7B20
tetradic
#201E7B #7B1E4B #797B1E #1E7B4E
square
#201E7B #7B1E4B #797B1E #1E7B4E
split-complementary
#201E7B #7B4E1E #4B7B1E
monochromatic
#060619 #13124A #201E7B #2D2AAC #4542D1

Accessibility & contrast

On white

13.70
#201E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#201E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201E7B
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E7B#FFFFFF#000000##FFFFFF
##201E7B1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201e7b;
/* rgb */ color: rgb(32, 30, 123);
/* oklch */ color: oklch(31.3% 0.151 274.2);
Tailwind
colors: {
  custom: {
    50: '#6b5ba2',
    500: '#201e7b',
    950: '#000000',
  },
}
SCSS
$custom: #201e7b;
$custom-light: #6b5ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#201e7b",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 241.29,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.31287,
    "c": 0.15088,
    "h": 274.2
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#201E7B
secondary
#ACAE46
accent
#E444E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #201E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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