#1E4E8D#1E4E8D

#1E4E8D is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.6% C 0.117 H 256.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#1E4E8D
RGBrgb(30, 78, 141)
HSLhsl(214, 65%, 34%)
HSVhsv(214, 79%, 55%)
CMYKcmyk(78.7%, 44.7%, 0%, 44.7%)
CIE-LABlab(33.24, 7.50, -39.58)
CIE-LCHlch(33.24, 40.28, 280.72°)
OKLaboklab(42.65% -0.0271 -0.1133)
OKLCHoklch(42.65% 0.117 256.6)
XYZxyz(8.0658, 7.6469, 26.2451)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E8D #8D5D1E
analogous
#1E858D #1E4E8D #251E8D
triadic
#1E4E8D #8D1E4E #4E8D1E
tetradic
#1E4E8D #8D1E85 #8D5D1E #1E8D25
square
#1E4E8D #8D1E85 #8D5D1E #1E8D25
split-complementary
#1E4E8D #8D251E #858D1E
monochromatic
#091628 #13325B #1E4E8D #296ABF #4C89D9

Accessibility & contrast

On white

8.30
#1E4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1E4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E8D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E8D#FFFFFF#000000##FFFFFF
##1E4E8D1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E548F
Deuteranopia (green-blind)
#19498C
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4e8d;
/* rgb */ color: rgb(30, 78, 141);
/* oklch */ color: oklch(42.6% 0.117 256.6);
Tailwind
colors: {
  custom: {
    50: '#6b7faf',
    500: '#1e4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e8d;
$custom-light: #6b7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e8d",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 214.054,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42649,
    "c": 0.11654,
    "h": 256.6
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#1E4E8D
secondary
#BC8B4B
accent
#9F40E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1E4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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