#1E215D#1E215D

#1E215D is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.105 H 275.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#1E215D
RGBrgb(30, 33, 93)
HSLhsl(237, 51%, 24%)
HSVhsv(237, 68%, 36%)
CMYKcmyk(67.7%, 64.5%, 0%, 63.5%)
CIE-LABlab(16.27, 19.85, -36.38)
CIE-LCHlch(16.27, 41.45, 298.62°)
OKLaboklab(28.62% 0.0098 -0.1047)
OKLCHoklch(28.62% 0.105 275.4)
XYZxyz(3.0544, 2.1538, 10.6086)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E215D #5D5A1E
analogous
#1E415D #1E215D #3B1E5D
triadic
#1E215D #5D1E21 #215D1E
tetradic
#1E215D #5D1E41 #5D5A1E #1E5D3B
square
#1E215D #5D1E41 #5D5A1E #1E5D3B
split-complementary
#1E215D #5D3B1E #415D1E
monochromatic
#070817 #0F112F #1E215D #2D318B #3C42BA

Accessibility & contrast

On white

14.68
#1E215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E215D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E215D
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E215D#FFFFFF#000000##FFFFFF
##1E215D1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e215d;
/* rgb */ color: rgb(30, 33, 93);
/* oklch */ color: oklch(28.6% 0.105 275.4);
Tailwind
colors: {
  custom: {
    50: '#625c8b',
    500: '#1e215d',
    950: '#000000',
  },
}
SCSS
$custom: #1e215d;
$custom-light: #625c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e215d",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 237.143,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2862,
    "c": 0.10518,
    "h": 275.4
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#1E215D
secondary
#928E45
accent
#D44DDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E215D

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

Preview Lab → · Contrast checker → · Palette generator →

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