#1E2B97#1E2B97

#1E2B97 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.174 H 269.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#1E2B97
RGBrgb(30, 43, 151)
HSLhsl(234, 67%, 35%)
HSVhsv(234, 80%, 59%)
CMYKcmyk(80.1%, 71.5%, 0%, 40.8%)
CIE-LABlab(24.44, 35.10, -60.01)
CIE-LCHlch(24.44, 69.52, 300.32°)
OKLaboklab(36.3% -0.002 -0.1738)
OKLCHoklch(36.3% 0.174 269.4)
XYZxyz(6.9833, 4.2373, 29.7220)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2B97 #978A1E
analogous
#1E6797 #1E2B97 #4E1E97
triadic
#1E2B97 #971E2B #2B971E
tetradic
#1E2B97 #971E67 #978A1E #1E974E
square
#1E2B97 #971E67 #978A1E #1E974E
split-complementary
#1E2B97 #974E1E #67971E
monochromatic
#0A0E31 #141C64 #1E2B97 #283ACA #5361DD

Accessibility & contrast

On white

11.37
#1E2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1E2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2B97
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2B97#FFFFFF#000000##FFFFFF
##1E2B971.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e2b97;
/* rgb */ color: rgb(30, 43, 151);
/* oklch */ color: oklch(36.3% 0.174 269.4);
Tailwind
colors: {
  custom: {
    50: '#7065b7',
    500: '#1e2b97',
    950: '#000000',
  },
}
SCSS
$custom: #1e2b97;
$custom-light: #7065b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2b97",
  "rgb": {
    "r": 30,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 233.554,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36297,
    "c": 0.17382,
    "h": 269.4
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#1E2B97
secondary
#C0B451
accent
#D73EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1E2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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