#1E4E8C#1E4E8C

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

Color values

HEX#1E4E8C
RGBrgb(30, 78, 140)
HSLhsl(214, 65%, 33%)
HSVhsv(214, 79%, 55%)
CMYKcmyk(78.6%, 44.3%, 0%, 45.1%)
CIE-LABlab(33.17, 7.09, -39.07)
CIE-LCHlch(33.17, 39.71, 280.29°)
OKLaboklab(42.58% -0.0273 -0.1118)
OKLCHoklch(42.58% 0.115 256.3)
XYZxyz(7.9917, 7.6173, 25.8550)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E8C #8C5C1E
analogous
#1E858C #1E4E8C #251E8C
triadic
#1E4E8C #8C1E4E #4E8C1E
tetradic
#1E4E8C #8C1E85 #8C5C1E #1E8C25
square
#1E4E8C #8C1E85 #8C5C1E #1E8C25
split-complementary
#1E4E8C #8C251E #858C1E
monochromatic
#081627 #13325A #1E4E8C #296ABE #4C89D9

Accessibility & contrast

On white

8.32
#1E4E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1E4E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E8C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E8C#FFFFFF#000000##FFFFFF
##1E4E8C1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538E
Deuteranopia (green-blind)
#1A498B
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4e8c;
/* rgb */ color: rgb(30, 78, 140);
/* oklch */ color: oklch(42.6% 0.115 256.3);
Tailwind
colors: {
  custom: {
    50: '#6b7fae',
    500: '#1e4e8c',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e8c;
$custom-light: #6b7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e8c",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 213.818,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42579,
    "c": 0.11513,
    "h": 256.3
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E4E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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