#1E2154#1E2154

#1E2154 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.091 H 276.2°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#1E2154
RGBrgb(30, 33, 84)
HSLhsl(237, 47%, 22%)
HSVhsv(237, 64%, 33%)
CMYKcmyk(64.3%, 60.7%, 0%, 67.1%)
CIE-LABlab(15.51, 16.36, -31.59)
CIE-LCHlch(15.51, 35.58, 297.38°)
OKLaboklab(27.81% 0.0098 -0.0906)
OKLCHoklch(27.81% 0.091 276.2)
XYZxyz(2.6790, 2.0036, 8.6314)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2154 #54511E
analogous
#1E3C54 #1E2154 #361E54
triadic
#1E2154 #541E21 #21541E
tetradic
#1E2154 #541E3C #54511E #1E5436
square
#1E2154 #541E3C #54511E #1E5436
split-complementary
#1E2154 #54361E #3C541E
monochromatic
#080917 #0E0F27 #1E2154 #2E3381 #3E44AE

Accessibility & contrast

On white

14.99
#1E2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1E2154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2154
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2154#FFFFFF#000000##FFFFFF
##1E21541.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e2154;
/* rgb */ color: rgb(30, 33, 84);
/* oklch */ color: oklch(27.8% 0.091 276.2);
Tailwind
colors: {
  custom: {
    50: '#605c85',
    500: '#1e2154',
    950: '#000000',
  },
}
SCSS
$custom: #1e2154;
$custom-light: #605c85;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2154",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 236.667,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27808,
    "c": 0.09116,
    "h": 276.2
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#1E2154
secondary
#898545
accent
#D051D7
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1E2154

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

Preview Lab → · Contrast checker → · Palette generator →

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