#1E229F#1E229F

#1E229F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.193 H 270.1°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#1E229F
RGBrgb(30, 34, 159)
HSLhsl(238, 68%, 37%)
HSVhsv(238, 81%, 62%)
CMYKcmyk(81.1%, 78.6%, 0%, 37.6%)
CIE-LABlab(23.41, 43.26, -66.61)
CIE-LCHlch(23.41, 79.43, 303.00°)
OKLaboklab(35.83% 0.0003 -0.1929)
OKLCHoklch(35.83% 0.193 270.1)
XYZxyz(7.3633, 3.9224, 33.1632)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E229F #9F9B1E
analogous
#1E629F #1E229F #5B1E9F
triadic
#1E229F #9F1E22 #229F1E
tetradic
#1E229F #9F1E62 #9F9B1E #1E9F5B
square
#1E229F #9F1E62 #9F9B1E #1E9F5B
split-complementary
#1E229F #9F5B1E #629F1E
monochromatic
#0B0C38 #14176C #1E229F #282DD2 #585CDF

Accessibility & contrast

On white

11.77
#1E229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1E229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E229F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E229F#FFFFFF#000000##FFFFFF
##1E229F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e229f;
/* rgb */ color: rgb(30, 34, 159);
/* oklch */ color: oklch(35.8% 0.193 270.1);
Tailwind
colors: {
  custom: {
    50: '#735fbd',
    500: '#1e229f',
    950: '#000000',
  },
}
SCSS
$custom: #1e229f;
$custom-light: #735fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e229f",
  "rgb": {
    "r": 30,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 238.14,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35825,
    "c": 0.19292,
    "h": 270.1
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#1E229F
secondary
#C3C056
accent
#E63DEB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1E229F

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

Preview Lab → · Contrast checker → · Palette generator →

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