#1E4D7F#1E4D7F

#1E4D7F is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.5% C 0.098 H 252.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#1E4D7F
RGBrgb(30, 77, 127)
HSLhsl(211, 62%, 31%)
HSVhsv(211, 76%, 50%)
CMYKcmyk(76.4%, 39.4%, 0%, 50.2%)
CIE-LABlab(32.07, 2.58, -32.82)
CIE-LCHlch(32.07, 32.92, 274.49°)
OKLaboklab(41.46% -0.0295 -0.0935)
OKLCHoklch(41.46% 0.098 252.5)
XYZxyz(7.0186, 7.1153, 21.0780)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D7F #7F501E
analogous
#1E7D7F #1E4D7F #201E7F
triadic
#1E4D7F #7F1E4D #4D7F1E
tetradic
#1E4D7F #7F1E7D #7F501E #1E7F20
square
#1E4D7F #7F1E7D #7F501E #1E7F20
split-complementary
#1E4D7F #7F201E #7D7F1E
monochromatic
#07111C #122F4D #1E4D7F #2A6BB1 #4489D3

Accessibility & contrast

On white

8.67
#1E4D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1E4D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D7F
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D7F#FFFFFF#000000##FFFFFF
##1E4D7F1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365081
Deuteranopia (green-blind)
#27477E
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1e4d7f;
/* rgb */ color: rgb(30, 77, 127);
/* oklch */ color: oklch(41.5% 0.098 252.5);
Tailwind
colors: {
  custom: {
    50: '#687ea4',
    500: '#1e4d7f',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d7f;
$custom-light: #687ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d7f",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 127
  },
  "hsl": {
    "h": 210.928,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41461,
    "c": 0.09806,
    "h": 252.5
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#1E4D7F
secondary
#B27E47
accent
#9643E5
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1E4D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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