#1E239D#1E239D

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

Color values

HEX#1E239D
RGBrgb(30, 35, 157)
HSLhsl(238, 68%, 37%)
HSVhsv(238, 81%, 62%)
CMYKcmyk(80.9%, 77.7%, 0%, 38.4%)
CIE-LABlab(23.38, 42.03, -65.45)
CIE-LCHlch(23.38, 77.78, 302.71°)
OKLaboklab(35.73% 0.0003 -0.1896)
OKLCHoklch(35.73% 0.19 270.1)
XYZxyz(7.2202, 3.9116, 32.2662)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E239D #9D981E
analogous
#1E639D #1E239D #591E9D
triadic
#1E239D #9D1E23 #239D1E
tetradic
#1E239D #9D1E63 #9D981E #1E9D59
square
#1E239D #9D1E63 #9D981E #1E9D59
split-complementary
#1E239D #9D591E #639D1E
monochromatic
#0A0C36 #14186A #1E239D #282ED0 #575CDF

Accessibility & contrast

On white

11.78
#1E239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E239D
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E239D#FFFFFF#000000##FFFFFF
##1E239D1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e239d;
/* rgb */ color: rgb(30, 35, 157);
/* oklch */ color: oklch(35.7% 0.190 270.1);
Tailwind
colors: {
  custom: {
    50: '#7360bb',
    500: '#1e239d',
    950: '#000000',
  },
}
SCSS
$custom: #1e239d;
$custom-light: #7360bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e239d",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 237.638,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35732,
    "c": 0.18957,
    "h": 270.1
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#1E239D
secondary
#C2BE54
accent
#E43DEB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1E239D

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

Preview Lab → · Contrast checker → · Palette generator →

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