#1E239E#1E239E

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

Color values

HEX#1E239E
RGBrgb(30, 35, 158)
HSLhsl(238, 68%, 37%)
HSVhsv(238, 81%, 62%)
CMYKcmyk(81%, 77.8%, 0%, 38%)
CIE-LABlab(23.49, 42.37, -65.87)
CIE-LCHlch(23.49, 78.32, 302.75°)
OKLaboklab(35.85% 0.0001 -0.1908)
OKLCHoklch(35.85% 0.191 270)
XYZxyz(7.3059, 3.9459, 32.7177)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E239E #9E991E
analogous
#1E639E #1E239E #591E9E
triadic
#1E239E #9E1E23 #239E1E
tetradic
#1E239E #9E1E63 #9E991E #1E9E59
square
#1E239E #9E1E63 #9E991E #1E9E59
split-complementary
#1E239E #9E591E #639E1E
monochromatic
#0A0C37 #14186B #1E239E #282ED1 #575DDF

Accessibility & contrast

On white

11.74
#1E239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1E239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E239E
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E239E#FFFFFF#000000##FFFFFF
##1E239E1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e239e;
/* rgb */ color: rgb(30, 35, 158);
/* oklch */ color: oklch(35.8% 0.191 270.0);
Tailwind
colors: {
  custom: {
    50: '#7360bc',
    500: '#1e239e',
    950: '#000000',
  },
}
SCSS
$custom: #1e239e;
$custom-light: #7360bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e239e",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 237.656,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35846,
    "c": 0.19079,
    "h": 270
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#1E239E
secondary
#C3BE55
accent
#E43DEB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1E239E

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

Preview Lab → · Contrast checker → · Palette generator →

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