#1E4C7D#1E4C7D

#1E4C7D is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.1% C 0.096 H 252.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#1E4C7D
RGBrgb(30, 76, 125)
HSLhsl(211, 61%, 30%)
HSVhsv(211, 76%, 49%)
CMYKcmyk(76%, 39.2%, 0%, 51%)
CIE-LABlab(31.64, 2.45, -32.27)
CIE-LCHlch(31.64, 32.36, 274.34°)
OKLaboklab(41.09% -0.029 -0.0919)
OKLCHoklch(41.09% 0.096 252.5)
XYZxyz(6.8202, 6.9248, 20.3752)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C7D #7D4F1E
analogous
#1E7B7D #1E4C7D #1F1E7D
triadic
#1E4C7D #7D1E4C #4C7D1E
tetradic
#1E4C7D #7D1E7B #7D4F1E #1E7D1F
square
#1E4C7D #7D1E7B #7D4F1E #1E7D1F
split-complementary
#1E4C7D #7D1F1E #7B7D1E
monochromatic
#06101A #122E4C #1E4C7D #2A6AAE #4388D2

Accessibility & contrast

On white

8.80
#1E4C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1E4C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C7D
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C7D#FFFFFF#000000##FFFFFF
##1E4C7D1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#27467C
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1e4c7d;
/* rgb */ color: rgb(30, 76, 125);
/* oklch */ color: oklch(41.1% 0.096 252.5);
Tailwind
colors: {
  custom: {
    50: '#687da3',
    500: '#1e4c7d',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c7d;
$custom-light: #687da3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c7d",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 125
  },
  "hsl": {
    "h": 210.947,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41085,
    "c": 0.09639,
    "h": 252.5
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#1E4C7D
secondary
#B07D46
accent
#9643E4
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1E4C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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