#1E2A97#1E2A97

#1E2A97 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.175 H 269.5°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#1E2A97
RGBrgb(30, 42, 151)
HSLhsl(234, 67%, 35%)
HSVhsv(234, 80%, 59%)
CMYKcmyk(80.1%, 72.2%, 0%, 40.8%)
CIE-LABlab(24.21, 35.73, -60.39)
CIE-LCHlch(24.21, 70.17, 300.61°)
OKLaboklab(36.13% -0.0015 -0.1749)
OKLCHoklch(36.13% 0.175 269.5)
XYZxyz(6.9474, 4.1655, 29.7100)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A97 #978B1E
analogous
#1E6697 #1E2A97 #4F1E97
triadic
#1E2A97 #971E2A #2A971E
tetradic
#1E2A97 #971E66 #978B1E #1E974F
square
#1E2A97 #971E66 #978B1E #1E974F
split-complementary
#1E2A97 #974F1E #66971E
monochromatic
#0A0E31 #141C64 #1E2A97 #2838CA #5360DD

Accessibility & contrast

On white

11.46
#1E2A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1E2A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A97
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A97#FFFFFF#000000##FFFFFF
##1E2A971.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1e2a97;
/* rgb */ color: rgb(30, 42, 151);
/* oklch */ color: oklch(36.1% 0.175 269.5);
Tailwind
colors: {
  custom: {
    50: '#7064b7',
    500: '#1e2a97',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a97;
$custom-light: #7064b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a97",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 234.05,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36132,
    "c": 0.17493,
    "h": 269.5
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#1E2A97
secondary
#C0B551
accent
#D93EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1E2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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