#1E2997#1E2997

#1E2997 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.176 H 269.7°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#1E2997
RGBrgb(30, 41, 151)
HSLhsl(235, 67%, 35%)
HSVhsv(235, 80%, 59%)
CMYKcmyk(80.1%, 72.8%, 0%, 40.8%)
CIE-LABlab(23.98, 36.36, -60.77)
CIE-LCHlch(23.98, 70.81, 300.89°)
OKLaboklab(35.97% -0.0011 -0.176)
OKLCHoklch(35.97% 0.176 269.7)
XYZxyz(6.9124, 4.0955, 29.6984)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2997 #978C1E
analogous
#1E6697 #1E2997 #4F1E97
triadic
#1E2997 #971E29 #29971E
tetradic
#1E2997 #971E66 #978C1E #1E974F
square
#1E2997 #971E66 #978C1E #1E974F
split-complementary
#1E2997 #974F1E #66971E
monochromatic
#0A0D31 #141B64 #1E2997 #2837CA #535FDD

Accessibility & contrast

On white

11.54
#1E2997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1E2997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2997
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2997#FFFFFF#000000##FFFFFF
##1E29971.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e2997;
/* rgb */ color: rgb(30, 41, 151);
/* oklch */ color: oklch(36.0% 0.176 269.7);
Tailwind
colors: {
  custom: {
    50: '#7063b7',
    500: '#1e2997',
    950: '#000000',
  },
}
SCSS
$custom: #1e2997;
$custom-light: #7063b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2997",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 234.545,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35969,
    "c": 0.176,
    "h": 269.7
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#1E2997
secondary
#C0B651
accent
#DA3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1E2997

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

Preview Lab → · Contrast checker → · Palette generator →

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