#1E215A#1E215A

#1E215A is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.101 H 275.6°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#1E215A
RGBrgb(30, 33, 90)
HSLhsl(237, 50%, 24%)
HSVhsv(237, 67%, 35%)
CMYKcmyk(66.7%, 63.3%, 0%, 64.7%)
CIE-LABlab(16.01, 18.69, -34.81)
CIE-LCHlch(16.01, 39.51, 298.23°)
OKLaboklab(28.34% 0.0099 -0.1001)
OKLCHoklch(28.34% 0.101 275.6)
XYZxyz(2.9241, 2.1017, 9.9224)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E215A #5A571E
analogous
#1E3F5A #1E215A #391E5A
triadic
#1E215A #5A1E21 #215A1E
tetradic
#1E215A #5A1E3F #5A571E #1E5A39
square
#1E215A #5A1E3F #5A571E #1E5A39
split-complementary
#1E215A #5A391E #3F5A1E
monochromatic
#080817 #0F102C #1E215A #2D3288 #3D43B6

Accessibility & contrast

On white

14.78
#1E215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E215A
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E215A#FFFFFF#000000##FFFFFF
##1E215A1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e215a;
/* rgb */ color: rgb(30, 33, 90);
/* oklch */ color: oklch(28.3% 0.101 275.6);
Tailwind
colors: {
  custom: {
    50: '#615c89',
    500: '#1e215a',
    950: '#000000',
  },
}
SCSS
$custom: #1e215a;
$custom-light: #615c89;
$custom-dark: #000000;
JSON
{
  "hex": "#1e215a",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 237,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28344,
    "c": 0.10058,
    "h": 275.6
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#1E215A
secondary
#8F8B45
accent
#D34EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040B
muted
#7A797C

Preview Lab

Preview with #1E215A

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

Preview Lab → · Contrast checker → · Palette generator →

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