#1E2397#1E2397

#1E2397 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.182 H 270.4°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#1E2397
RGBrgb(30, 35, 151)
HSLhsl(238, 67%, 35%)
HSVhsv(238, 80%, 59%)
CMYKcmyk(80.1%, 76.8%, 0%, 40.8%)
CIE-LABlab(22.69, 39.97, -62.90)
CIE-LCHlch(22.69, 74.52, 302.44°)
OKLaboklab(35.05% 0.0014 -0.1822)
OKLCHoklch(35.05% 0.182 270.4)
XYZxyz(6.7205, 3.7117, 29.6344)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2397 #97921E
analogous
#1E5F97 #1E2397 #561E97
triadic
#1E2397 #971E23 #23971E
tetradic
#1E2397 #971E5F #97921E #1E9756
square
#1E2397 #971E5F #97921E #1E9756
split-complementary
#1E2397 #97561E #5F971E
monochromatic
#0A0B31 #141764 #1E2397 #282FCA #5358DD

Accessibility & contrast

On white

12.05
#1E2397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E2397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2397
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2397#FFFFFF#000000##FFFFFF
##1E23971.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003095
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2397;
/* rgb */ color: rgb(30, 35, 151);
/* oklch */ color: oklch(35.0% 0.182 270.4);
Tailwind
colors: {
  custom: {
    50: '#715fb7',
    500: '#1e2397',
    950: '#000000',
  },
}
SCSS
$custom: #1e2397;
$custom-light: #715fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2397",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 237.521,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35049,
    "c": 0.18217,
    "h": 270.4
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#1E2397
secondary
#C0BB51
accent
#E33EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2397

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

Preview Lab → · Contrast checker → · Palette generator →

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