#1E2971#1E2971

#1E2971 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.124 H 271.0°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#1E2971
RGBrgb(30, 41, 113)
HSLhsl(232, 58%, 28%)
HSVhsv(232, 73%, 44%)
CMYKcmyk(73.5%, 63.7%, 0%, 55.7%)
CIE-LABlab(20.26, 21.99, -42.99)
CIE-LCHlch(20.26, 48.28, 297.09°)
OKLaboklab(32.12% 0.0021 -0.124)
OKLCHoklch(32.12% 0.124 271)
XYZxyz(4.3080, 3.0537, 15.9820)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2971 #71661E
analogous
#1E5271 #1E2971 #3C1E71
triadic
#1E2971 #711E29 #29711E
tetradic
#1E2971 #711E52 #71661E #1E713C
square
#1E2971 #711E52 #71661E #1E713C
split-complementary
#1E2971 #713C1E #52711E
monochromatic
#060918 #111741 #1E2971 #2B3BA1 #3E51CC

Accessibility & contrast

On white

13.04
#1E2971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E2971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2971
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2971#FFFFFF#000000##FFFFFF
##1E29711.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2971;
/* rgb */ color: rgb(30, 41, 113);
/* oklch */ color: oklch(32.1% 0.124 271.0);
Tailwind
colors: {
  custom: {
    50: '#66629a',
    500: '#1e2971',
    950: '#000000',
  },
}
SCSS
$custom: #1e2971;
$custom-light: #66629a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2971",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 232.048,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3212,
    "c": 0.12405,
    "h": 271
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#1E2971
secondary
#A59846
accent
#CD47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2971

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

Preview Lab → · Contrast checker → · Palette generator →

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