#1E2D97#1E2D97

#1E2D97 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.172 H 269.0°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#1E2D97
RGBrgb(30, 45, 151)
HSLhsl(233, 67%, 35%)
HSVhsv(233, 80%, 59%)
CMYKcmyk(80.1%, 70.2%, 0%, 40.8%)
CIE-LABlab(24.91, 33.82, -59.24)
CIE-LCHlch(24.91, 68.22, 299.72°)
OKLaboklab(36.64% -0.0029 -0.1716)
OKLCHoklch(36.64% 0.172 269)
XYZxyz(7.0578, 4.3864, 29.7468)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2D97 #97881E
analogous
#1E6997 #1E2D97 #4B1E97
triadic
#1E2D97 #971E2D #2D971E
tetradic
#1E2D97 #971E69 #97881E #1E974B
square
#1E2D97 #971E69 #97881E #1E974B
split-complementary
#1E2D97 #974B1E #69971E
monochromatic
#0A0F31 #141E64 #1E2D97 #283CCA #5364DD

Accessibility & contrast

On white

11.19
#1E2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1E2D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2D97
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2D97#FFFFFF#000000##FFFFFF
##1E2D971.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e2d97;
/* rgb */ color: rgb(30, 45, 151);
/* oklch */ color: oklch(36.6% 0.172 269.0);
Tailwind
colors: {
  custom: {
    50: '#7066b7',
    500: '#1e2d97',
    950: '#000000',
  },
}
SCSS
$custom: #1e2d97;
$custom-light: #7066b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2d97",
  "rgb": {
    "r": 30,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 232.562,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36636,
    "c": 0.17158,
    "h": 269
  },
  "luminance": 0.04387
}

Semantic roles & 50–950 ramp

primary
#1E2D97
secondary
#C0B251
accent
#D43EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1E2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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