#1E2160#1E2160

#1E2160 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.110 H 275.1°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#1E2160
RGBrgb(30, 33, 96)
HSLhsl(237, 52%, 25%)
HSVhsv(237, 69%, 38%)
CMYKcmyk(68.7%, 65.6%, 0%, 62.4%)
CIE-LABlab(16.54, 21.01, -37.94)
CIE-LCHlch(16.54, 43.37, 298.98°)
OKLaboklab(28.9% 0.0097 -0.1093)
OKLCHoklch(28.9% 0.11 275.1)
XYZxyz(3.1899, 2.2080, 11.3221)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2160 #605D1E
analogous
#1E4260 #1E2160 #3C1E60
triadic
#1E2160 #601E21 #21601E
tetradic
#1E2160 #601E42 #605D1E #1E603C
square
#1E2160 #601E42 #605D1E #1E603C
split-complementary
#1E2160 #603C1E #42601E
monochromatic
#070817 #0F1131 #1E2160 #2D318F #3B41BD

Accessibility & contrast

On white

14.57
#1E2160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1E2160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2160
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2160#FFFFFF#000000##FFFFFF
##1E21601.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e2160;
/* rgb */ color: rgb(30, 33, 96);
/* oklch */ color: oklch(28.9% 0.110 275.1);
Tailwind
colors: {
  custom: {
    50: '#635c8e',
    500: '#1e2160',
    950: '#000000',
  },
}
SCSS
$custom: #1e2160;
$custom-light: #635c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2160",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 237.273,
    "s": 52.381,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28902,
    "c": 0.10972,
    "h": 275.1
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#1E2160
secondary
#959145
accent
#D54CDC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E2160

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

Preview Lab → · Contrast checker → · Palette generator →

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