#1E2C97#1E2C97

#1E2C97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.173 H 269.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#1E2C97
RGBrgb(30, 44, 151)
HSLhsl(233, 67%, 35%)
HSVhsv(233, 80%, 59%)
CMYKcmyk(80.1%, 70.9%, 0%, 40.8%)
CIE-LABlab(24.67, 34.47, -59.63)
CIE-LCHlch(24.67, 68.87, 300.03°)
OKLaboklab(36.47% -0.0024 -0.1727)
OKLCHoklch(36.47% 0.173 269.2)
XYZxyz(7.0201, 4.3109, 29.7343)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C97 #97891E
analogous
#1E6897 #1E2C97 #4C1E97
triadic
#1E2C97 #971E2C #2C971E
tetradic
#1E2C97 #971E68 #97891E #1E974C
square
#1E2C97 #971E68 #97891E #1E974C
split-complementary
#1E2C97 #974C1E #68971E
monochromatic
#0A0E31 #141D64 #1E2C97 #283BCA #5363DD

Accessibility & contrast

On white

11.28
#1E2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1E2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C97
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C97#FFFFFF#000000##FFFFFF
##1E2C971.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2c97;
/* rgb */ color: rgb(30, 44, 151);
/* oklch */ color: oklch(36.5% 0.173 269.2);
Tailwind
colors: {
  custom: {
    50: '#7065b7',
    500: '#1e2c97',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c97;
$custom-light: #7065b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c97",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 233.058,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36466,
    "c": 0.17272,
    "h": 269.2
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#1E2C97
secondary
#C0B351
accent
#D63EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1E2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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