#1E3879#1E3879

#1E3879 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.116 H 264.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#1E3879
RGBrgb(30, 56, 121)
HSLhsl(223, 60%, 30%)
HSVhsv(223, 75%, 47%)
CMYKcmyk(75.2%, 53.7%, 0%, 52.5%)
CIE-LABlab(25.21, 14.57, -40.05)
CIE-LCHlch(25.21, 42.62, 290.00°)
OKLaboklab(36.04% -0.0105 -0.1152)
OKLCHoklch(36.04% 0.116 264.8)
XYZxyz(5.3996, 4.4843, 18.6664)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3879 #795F1E
analogous
#1E6679 #1E3879 #321E79
triadic
#1E3879 #791E38 #38791E
tetradic
#1E3879 #791E66 #795F1E #1E7932
square
#1E3879 #791E66 #795F1E #1E7932
split-complementary
#1E3879 #79321E #66791E
monochromatic
#060B19 #122148 #1E3879 #2A4FAA #416AD0

Accessibility & contrast

On white

11.07
#1E3879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1E3879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3879
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3879#FFFFFF#000000##FFFFFF
##1E38791.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e3879;
/* rgb */ color: rgb(30, 56, 121);
/* oklch */ color: oklch(36.0% 0.116 264.8);
Tailwind
colors: {
  custom: {
    50: '#676ea0',
    500: '#1e3879',
    950: '#000000',
  },
}
SCSS
$custom: #1e3879;
$custom-light: #676ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3879",
  "rgb": {
    "r": 30,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 222.857,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36044,
    "c": 0.11564,
    "h": 264.8
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#1E3879
secondary
#AD8F46
accent
#B644E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1E3879

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

Preview Lab → · Contrast checker → · Palette generator →

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