#1E4A8A#1E4A8A

#1E4A8A is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.117 H 258.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#1E4A8A
RGBrgb(30, 74, 138)
HSLhsl(216, 64%, 33%)
HSVhsv(216, 78%, 54%)
CMYKcmyk(78.3%, 46.4%, 0%, 45.9%)
CIE-LABlab(31.82, 8.98, -40.00)
CIE-LCHlch(31.82, 41.00, 282.66°)
OKLaboklab(41.49% -0.0241 -0.1147)
OKLCHoklch(41.49% 0.117 258.1)
XYZxyz(7.5700, 7.0077, 24.9935)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A8A #8A5E1E
analogous
#1E808A #1E4A8A #281E8A
triadic
#1E4A8A #8A1E4A #4A8A1E
tetradic
#1E4A8A #8A1E80 #8A5E1E #1E8A28
square
#1E4A8A #8A1E80 #8A5E1E #1E8A28
split-complementary
#1E4A8A #8A281E #808A1E
monochromatic
#081425 #132F58 #1E4A8A #2965BC #4B84D8

Accessibility & contrast

On white

8.74
#1E4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1E4A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A8A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A8A#FFFFFF#000000##FFFFFF
##1E4A8A1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#114689
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1e4a8a;
/* rgb */ color: rgb(30, 74, 138);
/* oklch */ color: oklch(41.5% 0.117 258.1);
Tailwind
colors: {
  custom: {
    50: '#6b7cac',
    500: '#1e4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a8a;
$custom-light: #6b7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a8a",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 215.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41494,
    "c": 0.11717,
    "h": 258.1
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#1E4A8A
secondary
#BA8C4A
accent
#A341E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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