#1E20B1#1E20B1

#1E20B1 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.216 H 269.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#1E20B1
RGBrgb(30, 32, 177)
HSLhsl(239, 71%, 41%)
HSVhsv(239, 83%, 69%)
CMYKcmyk(83.1%, 81.9%, 0%, 30.6%)
CIE-LABlab(25.21, 50.16, -74.52)
CIE-LCHlch(25.21, 89.83, 303.94°)
OKLaboklab(37.7% -0.0027 -0.2158)
OKLCHoklch(37.7% 0.216 269.3)
XYZxyz(8.9850, 4.4823, 41.9781)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E20B1 #B1AF1E
analogous
#1E69B1 #1E20B1 #661EB1
triadic
#1E20B1 #B11E20 #20B11E
tetradic
#1E20B1 #B11E69 #B1AF1E #1EB166
square
#1E20B1 #B11E69 #B1AF1E #1EB166
split-complementary
#1E20B1 #B1661E #69B11E
monochromatic
#0C0D48 #15177D #1E20B1 #3033DC #6566E5

Accessibility & contrast

On white

11.07
#1E20B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1E20B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E20B1
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E20B1#FFFFFF#000000##FFFFFF
##1E20B11.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B5
Deuteranopia (green-blind)
#0034AF
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e20b1;
/* rgb */ color: rgb(30, 32, 177);
/* oklch */ color: oklch(37.7% 0.216 269.3);
Tailwind
colors: {
  custom: {
    50: '#785fca',
    500: '#1e20b1',
    950: '#000000',
  },
}
SCSS
$custom: #1e20b1;
$custom-light: #785fca;
$custom-dark: #000000;
JSON
{
  "hex": "#1e20b1",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 177
  },
  "hsl": {
    "h": 239.184,
    "s": 71.014,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37698,
    "c": 0.21581,
    "h": 269.3
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#1E20B1
secondary
#CAC861
accent
#EB3AEE
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #1E20B1

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

Preview Lab → · Contrast checker → · Palette generator →

#1E20B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva