#1E2072#1E2072

#1E2072 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.137 H 273.7°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#1E2072
RGBrgb(30, 32, 114)
HSLhsl(239, 58%, 28%)
HSVhsv(239, 74%, 45%)
CMYKcmyk(73.7%, 71.9%, 0%, 55.3%)
CIE-LABlab(18.02, 28.53, -47.29)
CIE-LCHlch(18.02, 55.23, 301.10°)
OKLaboklab(30.52% 0.0088 -0.1367)
OKLCHoklch(30.52% 0.137 273.7)
XYZxyz(4.0882, 2.5236, 16.1880)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2072 #72701E
analogous
#1E4A72 #1E2072 #461E72
triadic
#1E2072 #721E20 #20721E
tetradic
#1E2072 #721E4A #72701E #1E7246
square
#1E2072 #721E4A #72701E #1E7246
split-complementary
#1E2072 #72461E #4A721E
monochromatic
#060718 #111242 #1E2072 #2B2EA2 #3E42CC

Accessibility & contrast

On white

13.96
#1E2072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E2072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2072
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2072#FFFFFF#000000##FFFFFF
##1E20721.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e2072;
/* rgb */ color: rgb(30, 32, 114);
/* oklch */ color: oklch(30.5% 0.137 273.7);
Tailwind
colors: {
  custom: {
    50: '#685c9b',
    500: '#1e2072',
    950: '#000000',
  },
}
SCSS
$custom: #1e2072;
$custom-light: #685c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2072",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 238.571,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30517,
    "c": 0.13697,
    "h": 273.7
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#1E2072
secondary
#A6A446
accent
#DE46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E2072

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

Preview Lab → · Contrast checker → · Palette generator →

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