#1E2597#1E2597

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

Color values

HEX#1E2597
RGBrgb(30, 37, 151)
HSLhsl(237, 67%, 35%)
HSVhsv(237, 80%, 59%)
CMYKcmyk(80.1%, 75.5%, 0%, 40.8%)
CIE-LABlab(23.11, 38.79, -62.21)
CIE-LCHlch(23.11, 73.31, 301.95°)
OKLaboklab(35.34% 0.0006 -0.1802)
OKLCHoklch(35.34% 0.18 270.2)
XYZxyz(6.7810, 3.8328, 29.6546)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2597 #97901E
analogous
#1E6197 #1E2597 #531E97
triadic
#1E2597 #971E25 #25971E
tetradic
#1E2597 #971E61 #97901E #1E9753
square
#1E2597 #971E61 #97901E #1E9753
split-complementary
#1E2597 #97531E #61971E
monochromatic
#0A0C31 #141864 #1E2597 #2832CA #535BDD

Accessibility & contrast

On white

11.89
#1E2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2597
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2597#FFFFFF#000000##FFFFFF
##1E25971.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.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: #1e2597;
/* rgb */ color: rgb(30, 37, 151);
/* oklch */ color: oklch(35.3% 0.180 270.2);
Tailwind
colors: {
  custom: {
    50: '#7161b7',
    500: '#1e2597',
    950: '#000000',
  },
}
SCSS
$custom: #1e2597;
$custom-light: #7161b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2597",
  "rgb": {
    "r": 30,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 236.529,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35344,
    "c": 0.18018,
    "h": 270.2
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#1E2597
secondary
#C0B951
accent
#E03EEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E2597

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

Preview Lab → · Contrast checker → · Palette generator →

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