#1E4E7F#1E4E7F

#1E4E7F is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.097 H 251.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#1E4E7F
RGBrgb(30, 78, 127)
HSLhsl(210, 62%, 31%)
HSVhsv(210, 76%, 50%)
CMYKcmyk(76.4%, 38.6%, 0%, 50.2%)
CIE-LABlab(32.38, 1.92, -32.32)
CIE-LCHlch(32.38, 32.38, 273.40°)
OKLaboklab(41.71% -0.0305 -0.092)
OKLCHoklch(41.71% 0.097 251.7)
XYZxyz(7.0891, 7.2563, 21.1015)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E7F #7F4F1E
analogous
#1E7E7F #1E4E7F #1E1E7F
triadic
#1E4E7F #7F1E4E #4E7F1E
tetradic
#1E4E7F #7F1E7E #7F4F1E #1E7F1E
square
#1E4E7F #7F1E7E #7F4F1E #1E7F1E
split-complementary
#1E4E7F #7F1E1E #7E7F1E
monochromatic
#07111C #12304D #1E4E7F #2A6CB1 #448BD3

Accessibility & contrast

On white

8.57
#1E4E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1E4E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E7F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E7F#FFFFFF#000000##FFFFFF
##1E4E7F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#29487E
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4e7f;
/* rgb */ color: rgb(30, 78, 127);
/* oklch */ color: oklch(41.7% 0.097 251.7);
Tailwind
colors: {
  custom: {
    50: '#687fa4',
    500: '#1e4e7f',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e7f;
$custom-light: #687fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e7f",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 210.309,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.09695,
    "h": 251.7
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#1E4E7F
secondary
#B27D47
accent
#9543E5
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1E4E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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