#1E4B7D#1E4B7D

#1E4B7D is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.8% C 0.098 H 253.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#1E4B7D
RGBrgb(30, 75, 125)
HSLhsl(212, 61%, 30%)
HSVhsv(212, 76%, 49%)
CMYKcmyk(76%, 40%, 0%, 51%)
CIE-LABlab(31.32, 3.11, -32.77)
CIE-LCHlch(31.32, 32.92, 275.43°)
OKLaboklab(40.84% -0.028 -0.0934)
OKLCHoklch(40.84% 0.098 253.3)
XYZxyz(6.7518, 6.7881, 20.3525)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4B7D #7D501E
analogous
#1E7A7D #1E4B7D #211E7D
triadic
#1E4B7D #7D1E4B #4B7D1E
tetradic
#1E4B7D #7D1E7A #7D501E #1E7D21
square
#1E4B7D #7D1E7A #7D501E #1E7D21
split-complementary
#1E4B7D #7D211E #7A7D1E
monochromatic
#06101A #122D4C #1E4B7D #2A69AE #4387D2

Accessibility & contrast

On white

8.91
#1E4B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1E4B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4B7D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4B7D#FFFFFF#000000##FFFFFF
##1E4B7D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7F
Deuteranopia (green-blind)
#25467C
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1e4b7d;
/* rgb */ color: rgb(30, 75, 125);
/* oklch */ color: oklch(40.8% 0.098 253.3);
Tailwind
colors: {
  custom: {
    50: '#687ca3',
    500: '#1e4b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1e4b7d;
$custom-light: #687ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4b7d",
  "rgb": {
    "r": 30,
    "g": 75,
    "b": 125
  },
  "hsl": {
    "h": 211.579,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40838,
    "c": 0.09751,
    "h": 253.3
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#1E4B7D
secondary
#B07E46
accent
#9843E4
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1E4B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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