#1E4078#1E4078

#1E4078 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.104 H 259.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#1E4078
RGBrgb(30, 64, 120)
HSLhsl(217, 60%, 29%)
HSVhsv(217, 75%, 47%)
CMYKcmyk(75%, 46.7%, 0%, 52.9%)
CIE-LABlab(27.57, 8.58, -35.63)
CIE-LCHlch(27.57, 36.64, 283.54°)
OKLaboklab(37.82% -0.0182 -0.102)
OKLCHoklch(37.82% 0.104 259.9)
XYZxyz(5.7578, 5.2983, 18.4849)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4078 #78561E
analogous
#1E6D78 #1E4078 #291E78
triadic
#1E4078 #781E40 #40781E
tetradic
#1E4078 #781E6D #78561E #1E7829
square
#1E4078 #781E6D #78561E #1E7829
split-complementary
#1E4078 #78291E #6D781E
monochromatic
#060D18 #122647 #1E4078 #2A5AA9 #4177CF

Accessibility & contrast

On white

10.20
#1E4078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1E4078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4078
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4078#FFFFFF#000000##FFFFFF
##1E40781.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467A
Deuteranopia (green-blind)
#123D77
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e4078;
/* rgb */ color: rgb(30, 64, 120);
/* oklch */ color: oklch(37.8% 0.104 259.9);
Tailwind
colors: {
  custom: {
    50: '#67749f',
    500: '#1e4078',
    950: '#000000',
  },
}
SCSS
$custom: #1e4078;
$custom-light: #67749f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4078",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 217.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37825,
    "c": 0.10362,
    "h": 259.9
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#1E4078
secondary
#AC8546
accent
#A745E3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #1E4078

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

Preview Lab → · Contrast checker → · Palette generator →

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