#1E2776#1E2776

#1E2776 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.134 H 271.5°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#1E2776
RGBrgb(30, 39, 118)
HSLhsl(234, 59%, 29%)
HSVhsv(234, 75%, 46%)
CMYKcmyk(74.6%, 66.9%, 0%, 53.7%)
CIE-LABlab(20.18, 25.32, -46.32)
CIE-LCHlch(20.18, 52.79, 298.66°)
OKLaboklab(32.21% 0.0034 -0.1338)
OKLCHoklch(32.21% 0.134 271.5)
XYZxyz(4.5298, 3.0346, 17.4830)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2776 #766D1E
analogous
#1E5376 #1E2776 #411E76
triadic
#1E2776 #761E27 #27761E
tetradic
#1E2776 #761E53 #766D1E #1E7641
square
#1E2776 #761E53 #766D1E #1E7641
split-complementary
#1E2776 #76411E #53761E
monochromatic
#060818 #121745 #1E2776 #2A37A7 #404FCE

Accessibility & contrast

On white

13.07
#1E2776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2776
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2776#FFFFFF#000000##FFFFFF
##1E27761.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2776;
/* rgb */ color: rgb(30, 39, 118);
/* oklch */ color: oklch(32.2% 0.134 271.5);
Tailwind
colors: {
  custom: {
    50: '#68619e',
    500: '#1e2776',
    950: '#000000',
  },
}
SCSS
$custom: #1e2776;
$custom-light: #68619e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2776",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 233.864,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32206,
    "c": 0.13387,
    "h": 271.5
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#1E2776
secondary
#AAA046
accent
#D345E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2776

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

Preview Lab → · Contrast checker → · Palette generator →

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