#1E216F#1E216F

#1E216F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.132 H 273.7°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#1E216F
RGBrgb(30, 33, 111)
HSLhsl(238, 57%, 28%)
HSVhsv(238, 73%, 44%)
CMYKcmyk(73%, 70.3%, 0%, 56.5%)
CIE-LABlab(17.97, 26.74, -45.44)
CIE-LCHlch(17.97, 52.72, 300.47°)
OKLaboklab(30.38% 0.0085 -0.1313)
OKLCHoklch(30.38% 0.132 273.7)
XYZxyz(3.9476, 2.5111, 15.3125)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E216F #6F6C1E
analogous
#1E496F #1E216F #441E6F
triadic
#1E216F #6F1E21 #216F1E
tetradic
#1E216F #6F1E49 #6F6C1E #1E6F44
square
#1E216F #6F1E49 #6F6C1E #1E6F44
split-complementary
#1E216F #6F441E #496F1E
monochromatic
#070718 #11133F #1E216F #2B2F9F #3D42CB

Accessibility & contrast

On white

13.98
#1E216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E216F
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E216F#FFFFFF#000000##FFFFFF
##1E216F1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e216f;
/* rgb */ color: rgb(30, 33, 111);
/* oklch */ color: oklch(30.4% 0.132 273.7);
Tailwind
colors: {
  custom: {
    50: '#675c99',
    500: '#1e216f',
    950: '#000000',
  },
}
SCSS
$custom: #1e216f;
$custom-light: #675c99;
$custom-dark: #000000;
JSON
{
  "hex": "#1e216f",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 237.778,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30384,
    "c": 0.13155,
    "h": 273.7
  },
  "luminance": 0.02511
}

Semantic roles & 50–950 ramp

primary
#1E216F
secondary
#A3A046
accent
#DB47E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E216F

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

Preview Lab → · Contrast checker → · Palette generator →

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