#1E4A7D#1E4A7D

#1E4A7D is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.6% C 0.099 H 254.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#1E4A7D
RGBrgb(30, 74, 125)
HSLhsl(212, 61%, 30%)
HSVhsv(212, 76%, 49%)
CMYKcmyk(76%, 40.8%, 0%, 51%)
CIE-LABlab(31.00, 3.78, -33.27)
CIE-LCHlch(31.00, 33.48, 276.48°)
OKLaboklab(40.59% -0.027 -0.0949)
OKLCHoklch(40.59% 0.099 254.1)
XYZxyz(6.6845, 6.6535, 20.3300)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4A7D #7D511E
analogous
#1E797D #1E4A7D #221E7D
triadic
#1E4A7D #7D1E4A #4A7D1E
tetradic
#1E4A7D #7D1E79 #7D511E #1E7D22
square
#1E4A7D #7D1E79 #7D511E #1E7D22
split-complementary
#1E4A7D #7D221E #797D1E
monochromatic
#06101A #122D4C #1E4A7D #2A67AE #4385D2

Accessibility & contrast

On white

9.01
#1E4A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1E4A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4A7D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4A7D#FFFFFF#000000##FFFFFF
##1E4A7D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#23457C
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1e4a7d;
/* rgb */ color: rgb(30, 74, 125);
/* oklch */ color: oklch(40.6% 0.099 254.1);
Tailwind
colors: {
  custom: {
    50: '#687ca3',
    500: '#1e4a7d',
    950: '#000000',
  },
}
SCSS
$custom: #1e4a7d;
$custom-light: #687ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4a7d",
  "rgb": {
    "r": 30,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 212.211,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40593,
    "c": 0.09865,
    "h": 254.1
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#1E4A7D
secondary
#B07F46
accent
#9A43E4
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1E4A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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