#1E4F8F#1E4F8F

#1E4F8F is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.118 H 256.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#1E4F8F
RGBrgb(30, 79, 143)
HSLhsl(214, 65%, 34%)
HSVhsv(214, 79%, 56%)
CMYKcmyk(79%, 44.8%, 0%, 43.9%)
CIE-LABlab(33.67, 7.63, -40.11)
CIE-LCHlch(33.67, 40.83, 280.77°)
OKLaboklab(43.03% -0.0275 -0.1149)
OKLCHoklch(43.03% 0.118 256.5)
XYZxyz(8.2875, 7.8502, 27.0597)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F8F #8F5E1E
analogous
#1E888F #1E4F8F #251E8F
triadic
#1E4F8F #8F1E4F #4F8F1E
tetradic
#1E4F8F #8F1E88 #8F5E1E #1E8F25
square
#1E4F8F #8F1E88 #8F5E1E #1E8F25
split-complementary
#1E4F8F #8F251E #888F1E
monochromatic
#09172A #13335C #1E4F8F #296BC2 #4E8ADA

Accessibility & contrast

On white

8.17
#1E4F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1E4F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F8F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F8F#FFFFFF#000000##FFFFFF
##1E4F8F1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5591
Deuteranopia (green-blind)
#194A8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4f8f;
/* rgb */ color: rgb(30, 79, 143);
/* oklch */ color: oklch(43.0% 0.118 256.5);
Tailwind
colors: {
  custom: {
    50: '#6c7fb0',
    500: '#1e4f8f',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f8f;
$custom-light: #6c7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f8f",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 213.982,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.11813,
    "h": 256.5
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#1E4F8F
secondary
#BC8C4C
accent
#9F40E8
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1E4F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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