#1E3978#1E3978

#1E3978 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.113 H 264.1°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#1E3978
RGBrgb(30, 57, 120)
HSLhsl(222, 60%, 29%)
HSVhsv(222, 75%, 47%)
CMYKcmyk(75%, 52.5%, 0%, 52.9%)
CIE-LABlab(25.44, 13.46, -39.05)
CIE-LCHlch(25.44, 41.31, 289.02°)
OKLaboklab(36.19% -0.0116 -0.1122)
OKLCHoklch(36.19% 0.113 264.1)
XYZxyz(5.3875, 4.5578, 18.3615)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3978 #785D1E
analogous
#1E6678 #1E3978 #301E78
triadic
#1E3978 #781E39 #39781E
tetradic
#1E3978 #781E66 #785D1E #1E7830
square
#1E3978 #781E66 #785D1E #1E7830
split-complementary
#1E3978 #78301E #66781E
monochromatic
#060C18 #122247 #1E3978 #2A50A9 #416CCF

Accessibility & contrast

On white

10.99
#1E3978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1E3978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3978
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3978#FFFFFF#000000##FFFFFF
##1E39781.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13417A
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e3978;
/* rgb */ color: rgb(30, 57, 120);
/* oklch */ color: oklch(36.2% 0.113 264.1);
Tailwind
colors: {
  custom: {
    50: '#676e9f',
    500: '#1e3978',
    950: '#000000',
  },
}
SCSS
$custom: #1e3978;
$custom-light: #676e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3978",
  "rgb": {
    "r": 30,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 222,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36191,
    "c": 0.11282,
    "h": 264.1
  },
  "luminance": 0.04558
}

Semantic roles & 50–950 ramp

primary
#1E3978
secondary
#AC8D46
accent
#B445E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #1E3978

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

Preview Lab → · Contrast checker → · Palette generator →

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