#1E4A8E#1E4A8E

#1E4A8E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.8% C 0.123 H 259.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#1E4A8E
RGBrgb(30, 74, 142)
HSLhsl(216, 65%, 34%)
HSVhsv(216, 79%, 56%)
CMYKcmyk(78.9%, 47.9%, 0%, 44.3%)
CIE-LABlab(32.09, 10.59, -42.03)
CIE-LCHlch(32.09, 43.34, 284.15°)
OKLaboklab(41.79% -0.0233 -0.1206)
OKLCHoklch(41.79% 0.123 259.1)
XYZxyz(7.8649, 7.1257, 26.5468)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A8E #8E621E
analogous
#1E828E #1E4A8E #2A1E8E
triadic
#1E4A8E #8E1E4A #4A8E1E
tetradic
#1E4A8E #8E1E82 #8E621E #1E8E2A
square
#1E4A8E #8E1E82 #8E621E #1E8E2A
split-complementary
#1E4A8E #8E2A1E #828E1E
monochromatic
#091529 #13305B #1E4A8E #2964C1 #4D84D9

Accessibility & contrast

On white

8.66
#1E4A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1E4A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A8E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A8E#FFFFFF#000000##FFFFFF
##1E4A8E1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#07478D
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1e4a8e;
/* rgb */ color: rgb(30, 74, 142);
/* oklch */ color: oklch(41.8% 0.123 259.1);
Tailwind
colors: {
  custom: {
    50: '#6c7baf',
    500: '#1e4a8e',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a8e;
$custom-light: #6c7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a8e",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 142
  },
  "hsl": {
    "h": 216.429,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41786,
    "c": 0.12287,
    "h": 259.1
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#1E4A8E
secondary
#BC904C
accent
#A640E8
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E4A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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