#1E4079#1E4079

#1E4079 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.105 H 260.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#1E4079
RGBrgb(30, 64, 121)
HSLhsl(218, 60%, 30%)
HSVhsv(218, 75%, 47%)
CMYKcmyk(75.2%, 47.1%, 0%, 52.5%)
CIE-LABlab(27.64, 8.98, -36.15)
CIE-LCHlch(27.64, 37.25, 283.95°)
OKLaboklab(37.9% -0.018 -0.1035)
OKLCHoklch(37.9% 0.105 260.1)
XYZxyz(5.8188, 5.3227, 18.8062)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4079 #79571E
analogous
#1E6E79 #1E4079 #291E79
triadic
#1E4079 #791E40 #40791E
tetradic
#1E4079 #791E6E #79571E #1E7929
square
#1E4079 #791E6E #79571E #1E7929
split-complementary
#1E4079 #79291E #6E791E
monochromatic
#060D19 #122648 #1E4079 #2A5AAA #4177D0

Accessibility & contrast

On white

10.17
#1E4079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4079
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4079#FFFFFF#000000##FFFFFF
##1E40791.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#103D78
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e4079;
/* rgb */ color: rgb(30, 64, 121);
/* oklch */ color: oklch(37.9% 0.105 260.1);
Tailwind
colors: {
  custom: {
    50: '#6774a0',
    500: '#1e4079',
    950: '#000000',
  },
}
SCSS
$custom: #1e4079;
$custom-light: #6774a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4079",
  "rgb": {
    "r": 30,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 217.582,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37898,
    "c": 0.10509,
    "h": 260.1
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#1E4079
secondary
#AD8646
accent
#A844E3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #1E4079

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

Preview Lab → · Contrast checker → · Palette generator →

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