#1E215E#1E215E

#1E215E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.107 H 275.3°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#1E215E
RGBrgb(30, 33, 94)
HSLhsl(237, 52%, 24%)
HSVhsv(237, 68%, 37%)
CMYKcmyk(68.1%, 64.9%, 0%, 63.1%)
CIE-LABlab(16.36, 20.24, -36.91)
CIE-LCHlch(16.36, 42.09, 298.74°)
OKLaboklab(28.71% 0.0098 -0.1062)
OKLCHoklch(28.71% 0.107 275.3)
XYZxyz(3.0990, 2.1716, 10.8434)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E215E #5E5B1E
analogous
#1E415E #1E215E #3B1E5E
triadic
#1E215E #5E1E21 #215E1E
tetradic
#1E215E #5E1E41 #5E5B1E #1E5E3B
square
#1E215E #5E1E41 #5E5B1E #1E5E3B
split-complementary
#1E215E #5E3B1E #415E1E
monochromatic
#070817 #0F1130 #1E215E #2D318C #3C42BB

Accessibility & contrast

On white

14.64
#1E215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E215E
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E215E#FFFFFF#000000##FFFFFF
##1E215E1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e215e;
/* rgb */ color: rgb(30, 33, 94);
/* oklch */ color: oklch(28.7% 0.107 275.3);
Tailwind
colors: {
  custom: {
    50: '#625c8c',
    500: '#1e215e',
    950: '#000000',
  },
}
SCSS
$custom: #1e215e;
$custom-light: #625c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e215e",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 237.188,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28714,
    "c": 0.1067,
    "h": 275.3
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#1E215E
secondary
#938F45
accent
#D44DDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E215E

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

Preview Lab → · Contrast checker → · Palette generator →

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