#1E2179#1E2179

#1E2179 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.145 H 272.8°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#1E2179
RGBrgb(30, 33, 121)
HSLhsl(238, 60%, 30%)
HSVhsv(238, 75%, 47%)
CMYKcmyk(75.2%, 72.7%, 0%, 52.5%)
CIE-LABlab(18.99, 30.47, -50.20)
CIE-LCHlch(18.99, 58.72, 301.25°)
OKLaboklab(31.43% 0.0072 -0.1452)
OKLCHoklch(31.43% 0.145 272.8)
XYZxyz(4.5293, 2.7438, 18.3763)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2179 #79761E
analogous
#1E4F79 #1E2179 #491E79
triadic
#1E2179 #791E21 #21791E
tetradic
#1E2179 #791E4F #79761E #1E7949
square
#1E2179 #791E4F #79761E #1E7949
split-complementary
#1E2179 #79491E #4F791E
monochromatic
#060719 #121448 #1E2179 #2A2EAA #4146D0

Accessibility & contrast

On white

13.56
#1E2179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E2179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2179
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2179#FFFFFF#000000##FFFFFF
##1E21791.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e2179;
/* rgb */ color: rgb(30, 33, 121);
/* oklch */ color: oklch(31.4% 0.145 272.8);
Tailwind
colors: {
  custom: {
    50: '#695da1',
    500: '#1e2179',
    950: '#000000',
  },
}
SCSS
$custom: #1e2179;
$custom-light: #695da1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2179",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 238.022,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31429,
    "c": 0.14538,
    "h": 272.8
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#1E2179
secondary
#ADA946
accent
#DE44E3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E2179

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

Preview Lab → · Contrast checker → · Palette generator →

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