#1E1874#1E1874

#1E1874 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.149 H 275.1°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#1E1874
RGBrgb(30, 24, 116)
HSLhsl(244, 66%, 27%)
HSVhsv(244, 79%, 45%)
CMYKcmyk(74.1%, 79.3%, 0%, 54.5%)
CIE-LABlab(16.45, 34.22, -51.17)
CIE-LCHlch(16.45, 61.56, 303.78°)
OKLaboklab(29.46% 0.0133 -0.148)
OKLCHoklch(29.46% 0.149 275.1)
XYZxyz(4.0134, 2.1899, 16.7308)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1874 #6E7418
analogous
#184074 #1E1874 #4C1874
triadic
#1E1874 #741E18 #18741E
tetradic
#1E1874 #741840 #6E7418 #18744C
square
#1E1874 #741840 #6E7418 #18744C
split-complementary
#1E1874 #744C18 #407418
monochromatic
#070519 #110E41 #1E1874 #2B22A7 #3C32D5

Accessibility & contrast

On white

14.60
#1E1874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1E1874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1874
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1874#FFFFFF#000000##FFFFFF
##1E18741.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e1874;
/* rgb */ color: rgb(30, 24, 116);
/* oklch */ color: oklch(29.5% 0.149 275.1);
Tailwind
colors: {
  custom: {
    50: '#69579d',
    500: '#1e1874',
    950: '#000000',
  },
}
SCSS
$custom: #1e1874;
$custom-light: #69579d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1874",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 243.913,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29461,
    "c": 0.14855,
    "h": 275.1
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#1E1874
secondary
#A2A93F
accent
#E93FDE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1874

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

Preview Lab → · Contrast checker → · Palette generator →

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