#1E216A#1E216A

#1E216A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.124 H 274.1°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#1E216A
RGBrgb(30, 33, 106)
HSLhsl(238, 56%, 27%)
HSVhsv(238, 72%, 42%)
CMYKcmyk(71.7%, 68.9%, 0%, 58.4%)
CIE-LABlab(17.48, 24.84, -42.99)
CIE-LCHlch(17.48, 49.65, 300.02°)
OKLaboklab(29.88% 0.009 -0.1241)
OKLCHoklch(29.88% 0.124 274.1)
XYZxyz(3.6799, 2.4040, 13.9030)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E216A #6A671E
analogous
#1E476A #1E216A #411E6A
triadic
#1E216A #6A1E21 #216A1E
tetradic
#1E216A #6A1E47 #6A671E #1E6A41
square
#1E216A #6A1E47 #6A671E #1E6A41
split-complementary
#1E216A #6A411E #476A1E
monochromatic
#070718 #11123A #1E216A #2C309A #3B40C7

Accessibility & contrast

On white

14.18
#1E216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1E216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E216A
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E216A#FFFFFF#000000##FFFFFF
##1E216A1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e216a;
/* rgb */ color: rgb(30, 33, 106);
/* oklch */ color: oklch(29.9% 0.124 274.1);
Tailwind
colors: {
  custom: {
    50: '#655c95',
    500: '#1e216a',
    950: '#000000',
  },
}
SCSS
$custom: #1e216a;
$custom-light: #655c95;
$custom-dark: #000000;
JSON
{
  "hex": "#1e216a",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 237.632,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29878,
    "c": 0.12443,
    "h": 274.1
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#1E216A
secondary
#9E9B45
accent
#D949DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1E216A

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

Preview Lab → · Contrast checker → · Palette generator →

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