#1E4E8F#1E4E8F

#1E4E8F is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.8% C 0.119 H 257.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#1E4E8F
RGBrgb(30, 78, 143)
HSLhsl(215, 65%, 34%)
HSVhsv(215, 79%, 56%)
CMYKcmyk(79%, 45.5%, 0%, 43.9%)
CIE-LABlab(33.37, 8.30, -40.59)
CIE-LCHlch(33.37, 41.43, 281.55°)
OKLaboklab(42.79% -0.0266 -0.1163)
OKLCHoklch(42.79% 0.119 257.1)
XYZxyz(8.2159, 7.7070, 27.0359)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E8F #8F5F1E
analogous
#1E878F #1E4E8F #261E8F
triadic
#1E4E8F #8F1E4E #4E8F1E
tetradic
#1E4E8F #8F1E87 #8F5F1E #1E8F26
square
#1E4E8F #8F1E87 #8F5F1E #1E8F26
split-complementary
#1E4E8F #8F261E #878F1E
monochromatic
#09172A #13325C #1E4E8F #296AC2 #4E89DA

Accessibility & contrast

On white

8.26
#1E4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1E4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E8F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E8F#FFFFFF#000000##FFFFFF
##1E4E8F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#154A8E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4e8f;
/* rgb */ color: rgb(30, 78, 143);
/* oklch */ color: oklch(42.8% 0.119 257.1);
Tailwind
colors: {
  custom: {
    50: '#6c7fb0',
    500: '#1e4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e8f;
$custom-light: #6c7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e8f",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 214.513,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4279,
    "c": 0.11935,
    "h": 257.1
  },
  "luminance": 0.07708
}

Semantic roles & 50–950 ramp

primary
#1E4E8F
secondary
#BC8D4C
accent
#A140E8
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1E4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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