#1E2876#1E2876

#1E2876 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.133 H 271.2°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1E2876
RGBrgb(30, 40, 118)
HSLhsl(233, 59%, 29%)
HSVhsv(233, 75%, 46%)
CMYKcmyk(74.6%, 66.1%, 0%, 53.7%)
CIE-LABlab(20.44, 24.64, -45.89)
CIE-LCHlch(20.44, 52.09, 298.23°)
OKLaboklab(32.4% 0.0027 -0.1326)
OKLCHoklch(32.4% 0.133 271.2)
XYZxyz(4.5631, 3.1011, 17.4941)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2876 #766C1E
analogous
#1E5476 #1E2876 #401E76
triadic
#1E2876 #761E28 #28761E
tetradic
#1E2876 #761E54 #766C1E #1E7640
square
#1E2876 #761E54 #766C1E #1E7640
split-complementary
#1E2876 #76401E #54761E
monochromatic
#060818 #121745 #1E2876 #2A39A7 #4050CE

Accessibility & contrast

On white

12.96
#1E2876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2876
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2876#FFFFFF#000000##FFFFFF
##1E28761.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2876;
/* rgb */ color: rgb(30, 40, 118);
/* oklch */ color: oklch(32.4% 0.133 271.2);
Tailwind
colors: {
  custom: {
    50: '#68629e',
    500: '#1e2876',
    950: '#000000',
  },
}
SCSS
$custom: #1e2876;
$custom-light: #68629e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2876",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 233.182,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32399,
    "c": 0.13259,
    "h": 271.2
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#1E2876
secondary
#AA9E46
accent
#D145E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2876

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

Preview Lab → · Contrast checker → · Palette generator →

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