#1E4E8E#1E4E8E

#1E4E8E is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.118 H 256.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1E4E8E
RGBrgb(30, 78, 142)
HSLhsl(214, 65%, 34%)
HSVhsv(214, 79%, 56%)
CMYKcmyk(78.9%, 45.1%, 0%, 44.3%)
CIE-LABlab(33.30, 7.90, -40.09)
CIE-LCHlch(33.30, 40.86, 281.14°)
OKLaboklab(42.72% -0.0269 -0.1148)
OKLCHoklch(42.72% 0.118 256.8)
XYZxyz(8.1405, 7.6768, 26.6387)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E8E #8E5E1E
analogous
#1E868E #1E4E8E #261E8E
triadic
#1E4E8E #8E1E4E #4E8E1E
tetradic
#1E4E8E #8E1E86 #8E5E1E #1E8E26
square
#1E4E8E #8E1E86 #8E5E1E #1E8E26
split-complementary
#1E4E8E #8E261E #868E1E
monochromatic
#091629 #13325B #1E4E8E #296AC1 #4D89D9

Accessibility & contrast

On white

8.28
#1E4E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4E8E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E8E#FFFFFF#000000##FFFFFF
##1E4E8E1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5490
Deuteranopia (green-blind)
#174A8D
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4e8e;
/* rgb */ color: rgb(30, 78, 142);
/* oklch */ color: oklch(42.7% 0.118 256.8);
Tailwind
colors: {
  custom: {
    50: '#6b7faf',
    500: '#1e4e8e',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e8e;
$custom-light: #6b7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e8e",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 214.286,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42719,
    "c": 0.11794,
    "h": 256.8
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#1E4E8E
secondary
#BC8C4C
accent
#A040E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1E4E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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