#1E4F8E#1E4F8E

#1E4F8E is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 43.0% C 0.117 H 256.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#1E4F8E
RGBrgb(30, 79, 142)
HSLhsl(214, 65%, 34%)
HSVhsv(214, 79%, 56%)
CMYKcmyk(78.9%, 44.4%, 0%, 44.3%)
CIE-LABlab(33.61, 7.23, -39.60)
CIE-LCHlch(33.61, 40.25, 280.34°)
OKLaboklab(42.96% -0.0277 -0.1134)
OKLCHoklch(42.96% 0.117 256.2)
XYZxyz(8.2121, 7.8200, 26.6625)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F8E #8E5D1E
analogous
#1E878E #1E4F8E #251E8E
triadic
#1E4F8E #8E1E4F #4F8E1E
tetradic
#1E4F8E #8E1E87 #8E5D1E #1E8E25
square
#1E4F8E #8E1E87 #8E5D1E #1E8E25
split-complementary
#1E4F8E #8E251E #878E1E
monochromatic
#091729 #13335B #1E4F8E #296BC1 #4D8AD9

Accessibility & contrast

On white

8.19
#1E4F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1E4F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F8E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F8E#FFFFFF#000000##FFFFFF
##1E4F8E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5590
Deuteranopia (green-blind)
#1A4A8D
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4f8e;
/* rgb */ color: rgb(30, 79, 142);
/* oklch */ color: oklch(43.0% 0.117 256.2);
Tailwind
colors: {
  custom: {
    50: '#6b7faf',
    500: '#1e4f8e',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f8e;
$custom-light: #6b7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f8e",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 213.75,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.11674,
    "h": 256.2
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#1E4F8E
secondary
#BC8B4C
accent
#9E40E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1E4F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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