#1E239B#1E239B

#1E239B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.187 H 270.2°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#1E239B
RGBrgb(30, 35, 155)
HSLhsl(238, 68%, 36%)
HSVhsv(238, 81%, 61%)
CMYKcmyk(80.6%, 77.4%, 0%, 39.2%)
CIE-LABlab(23.15, 41.35, -64.60)
CIE-LCHlch(23.15, 76.70, 302.62°)
OKLaboklab(35.5% 0.0007 -0.1871)
OKLCHoklch(35.5% 0.187 270.2)
XYZxyz(7.0508, 3.8438, 31.3743)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E239B #9B961E
analogous
#1E629B #1E239B #581E9B
triadic
#1E239B #9B1E23 #239B1E
tetradic
#1E239B #9B1E62 #9B961E #1E9B58
square
#1E239B #9B1E62 #9B961E #1E9B58
split-complementary
#1E239B #9B581E #629B1E
monochromatic
#0A0C34 #141768 #1E239B #282FCE #555BDE

Accessibility & contrast

On white

11.87
#1E239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E239B
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E239B#FFFFFF#000000##FFFFFF
##1E239B1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003199
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e239b;
/* rgb */ color: rgb(30, 35, 155);
/* oklch */ color: oklch(35.5% 0.187 270.2);
Tailwind
colors: {
  custom: {
    50: '#7260ba',
    500: '#1e239b',
    950: '#000000',
  },
}
SCSS
$custom: #1e239b;
$custom-light: #7260ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1e239b",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 237.6,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35503,
    "c": 0.18711,
    "h": 270.2
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#1E239B
secondary
#C2BD53
accent
#E43DEA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1E239B

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

Preview Lab → · Contrast checker → · Palette generator →

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