#1E2772#1E2772

#1E2772 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.128 H 271.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#1E2772
RGBrgb(30, 39, 114)
HSLhsl(234, 58%, 28%)
HSVhsv(234, 74%, 45%)
CMYKcmyk(73.7%, 65.8%, 0%, 55.3%)
CIE-LABlab(19.81, 23.78, -44.37)
CIE-LCHlch(19.81, 50.34, 298.19°)
OKLaboklab(31.82% 0.0037 -0.1281)
OKLCHoklch(31.82% 0.128 271.6)
XYZxyz(4.2972, 2.9415, 16.2576)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2772 #72691E
analogous
#1E5172 #1E2772 #3F1E72
triadic
#1E2772 #721E27 #27721E
tetradic
#1E2772 #721E51 #72691E #1E723F
square
#1E2772 #721E51 #72691E #1E723F
split-complementary
#1E2772 #723F1E #51721E
monochromatic
#060818 #111642 #1E2772 #2B38A2 #3E4DCC

Accessibility & contrast

On white

13.22
#1E2772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1E2772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2772
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2772#FFFFFF#000000##FFFFFF
##1E27721.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e2772;
/* rgb */ color: rgb(30, 39, 114);
/* oklch */ color: oklch(31.8% 0.128 271.6);
Tailwind
colors: {
  custom: {
    50: '#67619b',
    500: '#1e2772',
    950: '#000000',
  },
}
SCSS
$custom: #1e2772;
$custom-light: #67619b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2772",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 233.571,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31817,
    "c": 0.12814,
    "h": 271.6
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#1E2772
secondary
#A69C46
accent
#D146E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2772

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

Preview Lab → · Contrast checker → · Palette generator →

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