#1E2152#1E2152

#1E2152 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.088 H 276.4°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#1E2152
RGBrgb(30, 33, 82)
HSLhsl(237, 46%, 22%)
HSVhsv(237, 63%, 32%)
CMYKcmyk(63.4%, 59.8%, 0%, 67.8%)
CIE-LABlab(15.34, 15.59, -30.50)
CIE-LCHlch(15.34, 34.26, 297.07°)
OKLaboklab(27.64% 0.0097 -0.0874)
OKLCHoklch(27.64% 0.088 276.4)
XYZxyz(2.6018, 1.9727, 8.2247)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2152 #524F1E
analogous
#1E3B52 #1E2152 #351E52
triadic
#1E2152 #521E21 #21521E
tetradic
#1E2152 #521E3B #524F1E #1E5235
square
#1E2152 #521E3B #524F1E #1E5235
split-complementary
#1E2152 #52351E #3B521E
monochromatic
#080916 #0E0F25 #1E2152 #2E337F #3F45AC

Accessibility & contrast

On white

15.06
#1E2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E2152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2152
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2152#FFFFFF#000000##FFFFFF
##1E21521.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022954
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e2152;
/* rgb */ color: rgb(30, 33, 82);
/* oklch */ color: oklch(27.6% 0.088 276.4);
Tailwind
colors: {
  custom: {
    50: '#605c83',
    500: '#1e2152',
    950: '#000000',
  },
}
SCSS
$custom: #1e2152;
$custom-light: #605c83;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2152",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 236.538,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27635,
    "c": 0.08797,
    "h": 276.4
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#1E2152
secondary
#878345
accent
#CE52D6
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040A
muted
#79797C

Preview Lab

Preview with #1E2152

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

Preview Lab → · Contrast checker → · Palette generator →

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