#1E3874#1E3874

#1E3874 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.108 H 264.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#1E3874
RGBrgb(30, 56, 116)
HSLhsl(222, 59%, 29%)
HSVhsv(222, 74%, 45%)
CMYKcmyk(74.1%, 51.7%, 0%, 54.5%)
CIE-LABlab(24.84, 12.55, -37.47)
CIE-LCHlch(24.84, 39.52, 288.52°)
OKLaboklab(35.64% -0.0112 -0.1076)
OKLCHoklch(35.64% 0.108 264.1)
XYZxyz(5.1009, 4.3648, 17.0933)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3874 #745A1E
analogous
#1E6374 #1E3874 #2F1E74
triadic
#1E3874 #741E38 #38741E
tetradic
#1E3874 #741E63 #745A1E #1E742F
square
#1E3874 #741E63 #745A1E #1E742F
split-complementary
#1E3874 #742F1E #63741E
monochromatic
#060C18 #112143 #1E3874 #2B4FA5 #3F6ACD

Accessibility & contrast

On white

11.21
#1E3874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1E3874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3874
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3874#FFFFFF#000000##FFFFFF
##1E38741.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e3874;
/* rgb */ color: rgb(30, 56, 116);
/* oklch */ color: oklch(35.6% 0.108 264.1);
Tailwind
colors: {
  custom: {
    50: '#666e9c',
    500: '#1e3874',
    950: '#000000',
  },
}
SCSS
$custom: #1e3874;
$custom-light: #666e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3874",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 221.86,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35645,
    "c": 0.10816,
    "h": 264.1
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#1E3874
secondary
#A88A46
accent
#B346E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1E3874

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

Preview Lab → · Contrast checker → · Palette generator →

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