#1E20B3#1E20B3

#1E20B3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.9% C 0.218 H 269.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#1E20B3
RGBrgb(30, 32, 179)
HSLhsl(239, 71%, 41%)
HSVhsv(239, 83%, 70%)
CMYKcmyk(83.2%, 82.1%, 0%, 29.8%)
CIE-LABlab(25.45, 50.79, -75.31)
CIE-LCHlch(25.45, 90.83, 304.00°)
OKLaboklab(37.94% -0.0031 -0.2181)
OKLCHoklch(37.94% 0.218 269.2)
XYZxyz(9.1858, 4.5626, 43.0356)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E20B3 #B3B11E
analogous
#1E6AB3 #1E20B3 #661EB3
triadic
#1E20B3 #B31E20 #20B31E
tetradic
#1E20B3 #B31E6A #B3B11E #1EB366
square
#1E20B3 #B31E6A #B3B11E #1EB366
split-complementary
#1E20B3 #B3661E #6AB31E
monochromatic
#0C0D4A #15177F #1E20B3 #3234DD #6668E5

Accessibility & contrast

On white

10.98
#1E20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1E20B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E20B3
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E20B3#FFFFFF#000000##FFFFFF
##1E20B31.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e20b3;
/* rgb */ color: rgb(30, 32, 179);
/* oklch */ color: oklch(37.9% 0.218 269.2);
Tailwind
colors: {
  custom: {
    50: '#7960cb',
    500: '#1e20b3',
    950: '#000000',
  },
}
SCSS
$custom: #1e20b3;
$custom-light: #7960cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e20b3",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 239.195,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.37938,
    "c": 0.21809,
    "h": 269.2
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#1E20B3
secondary
#CBC962
accent
#EC3AEE
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #1E20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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