#1E2976#1E2976

#1E2976 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.131 H 270.8°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1E2976
RGBrgb(30, 41, 118)
HSLhsl(233, 59%, 29%)
HSVhsv(233, 75%, 46%)
CMYKcmyk(74.6%, 65.3%, 0%, 53.7%)
CIE-LABlab(20.71, 23.94, -45.46)
CIE-LCHlch(20.71, 51.38, 297.78°)
OKLaboklab(32.6% 0.0019 -0.1313)
OKLCHoklch(32.6% 0.131 270.8)
XYZxyz(4.5973, 3.1694, 17.5055)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2976 #766B1E
analogous
#1E5576 #1E2976 #3F1E76
triadic
#1E2976 #761E29 #29761E
tetradic
#1E2976 #761E55 #766B1E #1E763F
square
#1E2976 #761E55 #766B1E #1E763F
split-complementary
#1E2976 #763F1E #55761E
monochromatic
#060818 #121845 #1E2976 #2A3AA7 #4052CE

Accessibility & contrast

On white

12.85
#1E2976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1E2976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2976
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2976#FFFFFF#000000##FFFFFF
##1E29761.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e2976;
/* rgb */ color: rgb(30, 41, 118);
/* oklch */ color: oklch(32.6% 0.131 270.8);
Tailwind
colors: {
  custom: {
    50: '#68629e',
    500: '#1e2976',
    950: '#000000',
  },
}
SCSS
$custom: #1e2976;
$custom-light: #68629e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2976",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 232.5,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32595,
    "c": 0.13129,
    "h": 270.8
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#1E2976
secondary
#AA9D46
accent
#CF45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2976

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

Preview Lab → · Contrast checker → · Palette generator →

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