#1E229D#1E229D

#1E229D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.190 H 270.2°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#1E229D
RGBrgb(30, 34, 157)
HSLhsl(238, 68%, 37%)
HSVhsv(238, 81%, 62%)
CMYKcmyk(80.9%, 78.3%, 0%, 38.4%)
CIE-LABlab(23.18, 42.59, -65.77)
CIE-LCHlch(23.18, 78.36, 302.92°)
OKLaboklab(35.59% 0.0006 -0.1905)
OKLCHoklch(35.59% 0.19 270.2)
XYZxyz(7.1912, 3.8536, 32.2566)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E229D #9D991E
analogous
#1E629D #1E229D #5A1E9D
triadic
#1E229D #9D1E22 #229D1E
tetradic
#1E229D #9D1E62 #9D991E #1E9D5A
square
#1E229D #9D1E62 #9D991E #1E9D5A
split-complementary
#1E229D #9D5A1E #629D1E
monochromatic
#0A0C36 #14176A #1E229D #282DD0 #575BDF

Accessibility & contrast

On white

11.86
#1E229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1E229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E229D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E229D#FFFFFF#000000##FFFFFF
##1E229D1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e229d;
/* rgb */ color: rgb(30, 34, 157);
/* oklch */ color: oklch(35.6% 0.190 270.2);
Tailwind
colors: {
  custom: {
    50: '#735fbb',
    500: '#1e229d',
    950: '#000000',
  },
}
SCSS
$custom: #1e229d;
$custom-light: #735fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e229d",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 238.11,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35594,
    "c": 0.19049,
    "h": 270.2
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#1E229D
secondary
#C2BF54
accent
#E53DEB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1E229D

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

Preview Lab → · Contrast checker → · Palette generator →

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