#1E2A71#1E2A71

#1E2A71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.123 H 270.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#1E2A71
RGBrgb(30, 42, 113)
HSLhsl(231, 58%, 28%)
HSVhsv(231, 73%, 44%)
CMYKcmyk(73.5%, 62.8%, 0%, 55.7%)
CIE-LABlab(20.53, 21.28, -42.54)
CIE-LCHlch(20.53, 47.57, 296.58°)
OKLaboklab(32.32% 0.0012 -0.1227)
OKLCHoklch(32.32% 0.123 270.6)
XYZxyz(4.3430, 3.1238, 15.9937)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A71 #71651E
analogous
#1E5371 #1E2A71 #3B1E71
triadic
#1E2A71 #711E2A #2A711E
tetradic
#1E2A71 #711E53 #71651E #1E713B
square
#1E2A71 #711E53 #71651E #1E713B
split-complementary
#1E2A71 #713B1E #53711E
monochromatic
#060918 #111841 #1E2A71 #2B3CA1 #3E52CC

Accessibility & contrast

On white

12.92
#1E2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A71
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A71#FFFFFF#000000##FFFFFF
##1E2A711.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2a71;
/* rgb */ color: rgb(30, 42, 113);
/* oklch */ color: oklch(32.3% 0.123 270.6);
Tailwind
colors: {
  custom: {
    50: '#66639a',
    500: '#1e2a71',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a71;
$custom-light: #66639a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a71",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 231.325,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32324,
    "c": 0.12271,
    "h": 270.6
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#1E2A71
secondary
#A59746
accent
#CB47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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