#1E1876#1E1876

#1E1876 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.151 H 274.9°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#1E1876
RGBrgb(30, 24, 118)
HSLhsl(244, 66%, 28%)
HSVhsv(244, 80%, 46%)
CMYKcmyk(74.6%, 79.7%, 0%, 53.7%)
CIE-LABlab(16.68, 34.92, -52.08)
CIE-LCHlch(16.68, 62.70, 303.84°)
OKLaboklab(29.69% 0.0128 -0.1506)
OKLCHoklch(29.69% 0.151 274.9)
XYZxyz(4.1310, 2.2369, 17.3501)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1876 #707618
analogous
#184176 #1E1876 #4D1876
triadic
#1E1876 #761E18 #18761E
tetradic
#1E1876 #761841 #707618 #18764D
square
#1E1876 #761841 #707618 #18764D
split-complementary
#1E1876 #764D18 #417618
monochromatic
#060519 #110E43 #1E1876 #2B22A9 #3D33D5

Accessibility & contrast

On white

14.51
#1E1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E1876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1876
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1876#FFFFFF#000000##FFFFFF
##1E18761.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e1876;
/* rgb */ color: rgb(30, 24, 118);
/* oklch */ color: oklch(29.7% 0.151 274.9);
Tailwind
colors: {
  custom: {
    50: '#69579f',
    500: '#1e1876',
    950: '#000000',
  },
}
SCSS
$custom: #1e1876;
$custom-light: #69579f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1876",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 243.83,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29692,
    "c": 0.15114,
    "h": 274.9
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#1E1876
secondary
#A4AB3F
accent
#E93FDE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1E1876

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

Preview Lab → · Contrast checker → · Palette generator →

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