#1E216E#1E216E

#1E216E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.130 H 273.8°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#1E216E
RGBrgb(30, 33, 110)
HSLhsl(238, 57%, 27%)
HSVhsv(238, 73%, 43%)
CMYKcmyk(72.7%, 70%, 0%, 56.9%)
CIE-LABlab(17.87, 26.36, -44.95)
CIE-LCHlch(17.87, 52.11, 300.39°)
OKLaboklab(30.28% 0.0086 -0.1299)
OKLCHoklch(30.28% 0.13 273.8)
XYZxyz(3.8928, 2.4892, 15.0241)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E216E #6E6B1E
analogous
#1E496E #1E216E #431E6E
triadic
#1E216E #6E1E21 #216E1E
tetradic
#1E216E #6E1E49 #6E6B1E #1E6E43
square
#1E216E #6E1E49 #6E6B1E #1E6E43
split-complementary
#1E216E #6E431E #496E1E
monochromatic
#070718 #11133E #1E216E #2B2F9E #3C42CA

Accessibility & contrast

On white

14.02
#1E216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E216E
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E216E#FFFFFF#000000##FFFFFF
##1E216E1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e216e;
/* rgb */ color: rgb(30, 33, 110);
/* oklch */ color: oklch(30.3% 0.130 273.8);
Tailwind
colors: {
  custom: {
    50: '#665c98',
    500: '#1e216e',
    950: '#000000',
  },
}
SCSS
$custom: #1e216e;
$custom-light: #665c98;
$custom-dark: #000000;
JSON
{
  "hex": "#1e216e",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 237.75,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30282,
    "c": 0.13014,
    "h": 273.8
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#1E216E
secondary
#A29F46
accent
#DB47E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E216E

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

Preview Lab → · Contrast checker → · Palette generator →

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