#1E2E97#1E2E97

#1E2E97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.170 H 268.9°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#1E2E97
RGBrgb(30, 46, 151)
HSLhsl(232, 67%, 35%)
HSVhsv(232, 80%, 59%)
CMYKcmyk(80.1%, 69.5%, 0%, 40.8%)
CIE-LABlab(25.15, 33.18, -58.85)
CIE-LCHlch(25.15, 67.56, 299.41°)
OKLaboklab(36.81% -0.0034 -0.1704)
OKLCHoklch(36.81% 0.17 268.9)
XYZxyz(7.0964, 4.4636, 29.7597)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2E97 #97871E
analogous
#1E6A97 #1E2E97 #4A1E97
triadic
#1E2E97 #971E2E #2E971E
tetradic
#1E2E97 #971E6A #97871E #1E974A
square
#1E2E97 #971E6A #97871E #1E974A
split-complementary
#1E2E97 #974A1E #6A971E
monochromatic
#0A0F31 #141E64 #1E2E97 #283ECA #5365DD

Accessibility & contrast

On white

11.09
#1E2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1E2E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2E97
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2E97#FFFFFF#000000##FFFFFF
##1E2E971.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e2e97;
/* rgb */ color: rgb(30, 46, 151);
/* oklch */ color: oklch(36.8% 0.170 268.9);
Tailwind
colors: {
  custom: {
    50: '#7067b7',
    500: '#1e2e97',
    950: '#000000',
  },
}
SCSS
$custom: #1e2e97;
$custom-light: #7067b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2e97",
  "rgb": {
    "r": 30,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 232.066,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36809,
    "c": 0.17044,
    "h": 268.9
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#1E2E97
secondary
#C0B151
accent
#D33EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1E2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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