#1E215B#1E215B

#1E215B is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.102 H 275.5°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#1E215B
RGBrgb(30, 33, 91)
HSLhsl(237, 50%, 24%)
HSVhsv(237, 67%, 36%)
CMYKcmyk(67%, 63.7%, 0%, 64.3%)
CIE-LABlab(16.10, 19.08, -35.34)
CIE-LCHlch(16.10, 40.16, 298.36°)
OKLaboklab(28.44% 0.0099 -0.1016)
OKLCHoklch(28.44% 0.102 275.5)
XYZxyz(2.9670, 2.1188, 10.1481)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E215B #5B581E
analogous
#1E3F5B #1E215B #391E5B
triadic
#1E215B #5B1E21 #215B1E
tetradic
#1E215B #5B1E3F #5B581E #1E5B39
square
#1E215B #5B1E3F #5B581E #1E5B39
split-complementary
#1E215B #5B391E #3F5B1E
monochromatic
#080817 #0F102D #1E215B #2D3289 #3C42B7

Accessibility & contrast

On white

14.75
#1E215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E215B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E215B
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E215B#FFFFFF#000000##FFFFFF
##1E215B1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e215b;
/* rgb */ color: rgb(30, 33, 91);
/* oklch */ color: oklch(28.4% 0.102 275.5);
Tailwind
colors: {
  custom: {
    50: '#625c8a',
    500: '#1e215b',
    950: '#000000',
  },
}
SCSS
$custom: #1e215b;
$custom-light: #625c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e215b",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 237.049,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28435,
    "c": 0.10212,
    "h": 275.5
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#1E215B
secondary
#908C45
accent
#D34EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1E215B

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

Preview Lab → · Contrast checker → · Palette generator →

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