#1E2153#1E2153

#1E2153 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.090 H 276.3°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#1E2153
RGBrgb(30, 33, 83)
HSLhsl(237, 47%, 22%)
HSVhsv(237, 64%, 33%)
CMYKcmyk(63.9%, 60.2%, 0%, 67.5%)
CIE-LABlab(15.42, 15.97, -31.05)
CIE-LCHlch(15.42, 34.92, 297.22°)
OKLaboklab(27.72% 0.0098 -0.089)
OKLCHoklch(27.72% 0.09 276.3)
XYZxyz(2.6401, 1.9881, 8.4265)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2153 #53501E
analogous
#1E3C53 #1E2153 #361E53
triadic
#1E2153 #531E21 #21531E
tetradic
#1E2153 #531E3C #53501E #1E5336
square
#1E2153 #531E3C #53501E #1E5336
split-complementary
#1E2153 #53361E #3C531E
monochromatic
#080916 #0E0F26 #1E2153 #2E3380 #3E45AD

Accessibility & contrast

On white

15.03
#1E2153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2153
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2153#FFFFFF#000000##FFFFFF
##1E21531.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2153;
/* rgb */ color: rgb(30, 33, 83);
/* oklch */ color: oklch(27.7% 0.090 276.3);
Tailwind
colors: {
  custom: {
    50: '#605c84',
    500: '#1e2153',
    950: '#000000',
  },
}
SCSS
$custom: #1e2153;
$custom-light: #605c84;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2153",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 236.604,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27721,
    "c": 0.08957,
    "h": 276.3
  },
  "luminance": 0.01988
}

Semantic roles & 50–950 ramp

primary
#1E2153
secondary
#888445
accent
#CF51D7
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1E2153

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

Preview Lab → · Contrast checker → · Palette generator →

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