#1E4C8D#1E4C8D

#1E4C8D is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.119 H 257.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#1E4C8D
RGBrgb(30, 76, 141)
HSLhsl(215, 65%, 34%)
HSVhsv(215, 79%, 55%)
CMYKcmyk(78.7%, 46.1%, 0%, 44.7%)
CIE-LABlab(32.63, 8.84, -40.55)
CIE-LCHlch(32.63, 41.50, 282.29°)
OKLaboklab(42.18% -0.0253 -0.1162)
OKLCHoklch(42.18% 0.119 257.7)
XYZxyz(7.9258, 7.3671, 26.1984)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C8D #8D5F1E
analogous
#1E838D #1E4C8D #271E8D
triadic
#1E4C8D #8D1E4C #4C8D1E
tetradic
#1E4C8D #8D1E83 #8D5F1E #1E8D27
square
#1E4C8D #8D1E83 #8D5F1E #1E8D27
split-complementary
#1E4C8D #8D271E #838D1E
monochromatic
#091628 #13315B #1E4C8D #2967BF #4C87D9

Accessibility & contrast

On white

8.49
#1E4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1E4C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C8D
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C8D#FFFFFF#000000##FFFFFF
##1E4C8D1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528F
Deuteranopia (green-blind)
#12488C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e4c8d;
/* rgb */ color: rgb(30, 76, 141);
/* oklch */ color: oklch(42.2% 0.119 257.7);
Tailwind
colors: {
  custom: {
    50: '#6b7daf',
    500: '#1e4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c8d;
$custom-light: #6b7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c8d",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 215.135,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42178,
    "c": 0.11897,
    "h": 257.7
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#1E4C8D
secondary
#BC8D4B
accent
#A240E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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