#1E4178#1E4178

#1E4178 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.102 H 259.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#1E4178
RGBrgb(30, 65, 120)
HSLhsl(217, 60%, 29%)
HSVhsv(217, 75%, 47%)
CMYKcmyk(75%, 45.8%, 0%, 52.9%)
CIE-LABlab(27.88, 7.89, -35.13)
CIE-LCHlch(27.88, 36.00, 282.65°)
OKLaboklab(38.06% -0.0192 -0.1005)
OKLCHoklch(38.06% 0.102 259.2)
XYZxyz(5.8147, 5.4121, 18.5038)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4178 #78551E
analogous
#1E6E78 #1E4178 #281E78
triadic
#1E4178 #781E41 #41781E
tetradic
#1E4178 #781E6E #78551E #1E7828
square
#1E4178 #781E6E #78551E #1E7828
split-complementary
#1E4178 #78281E #6E781E
monochromatic
#060D18 #122647 #1E4178 #2A5CA9 #4178CF

Accessibility & contrast

On white

10.08
#1E4178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1E4178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4178
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4178#FFFFFF#000000##FFFFFF
##1E41781.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26467A
Deuteranopia (green-blind)
#153E77
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1e4178;
/* rgb */ color: rgb(30, 65, 120);
/* oklch */ color: oklch(38.1% 0.102 259.2);
Tailwind
colors: {
  custom: {
    50: '#67759f',
    500: '#1e4178',
    950: '#000000',
  },
}
SCSS
$custom: #1e4178;
$custom-light: #67759f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4178",
  "rgb": {
    "r": 30,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 216.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38064,
    "c": 0.10234,
    "h": 259.2
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#1E4178
secondary
#AC8446
accent
#A645E3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #1E4178

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

Preview Lab → · Contrast checker → · Palette generator →

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