#1E2497#1E2497

#1E2497 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.181 H 270.3°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#1E2497
RGBrgb(30, 36, 151)
HSLhsl(237, 67%, 35%)
HSVhsv(237, 80%, 59%)
CMYKcmyk(80.1%, 76.2%, 0%, 40.8%)
CIE-LABlab(22.90, 39.38, -62.56)
CIE-LCHlch(22.90, 73.92, 302.19°)
OKLaboklab(35.2% 0.001 -0.1812)
OKLCHoklch(35.2% 0.181 270.3)
XYZxyz(6.7503, 3.7714, 29.6443)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2497 #97911E
analogous
#1E6097 #1E2497 #541E97
triadic
#1E2497 #971E24 #24971E
tetradic
#1E2497 #971E60 #97911E #1E9754
square
#1E2497 #971E60 #97911E #1E9754
split-complementary
#1E2497 #97541E #60971E
monochromatic
#0A0C31 #141864 #1E2497 #2830CA #5359DD

Accessibility & contrast

On white

11.97
#1E2497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E2497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2497
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2497#FFFFFF#000000##FFFFFF
##1E24971.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003195
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e2497;
/* rgb */ color: rgb(30, 36, 151);
/* oklch */ color: oklch(35.2% 0.181 270.3);
Tailwind
colors: {
  custom: {
    50: '#7160b7',
    500: '#1e2497',
    950: '#000000',
  },
}
SCSS
$custom: #1e2497;
$custom-light: #7160b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2497",
  "rgb": {
    "r": 30,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 237.025,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35195,
    "c": 0.18118,
    "h": 270.3
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#1E2497
secondary
#C0BA51
accent
#E13EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2497

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

Preview Lab → · Contrast checker → · Palette generator →

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