#1E4E7E#1E4E7E

#1E4E7E is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.096 H 251.2°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#1E4E7E
RGBrgb(30, 78, 126)
HSLhsl(210, 62%, 31%)
HSVhsv(210, 76%, 49%)
CMYKcmyk(76.2%, 38.1%, 0%, 50.6%)
CIE-LABlab(32.33, 1.52, -31.79)
CIE-LCHlch(32.33, 31.83, 272.75°)
OKLaboklab(41.64% -0.0307 -0.0905)
OKLCHoklch(41.64% 0.096 251.2)
XYZxyz(7.0243, 7.2304, 20.7600)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E7E #7E4E1E
analogous
#1E7E7E #1E4E7E #1E1E7E
triadic
#1E4E7E #7E1E4E #4E7E1E
tetradic
#1E4E7E #7E1E7E #7E4E1E #1E7E1E
square
#1E4E7E #7E1E7E #7E4E1E #1E7E1E
split-complementary
#1E4E7E #7E1E1E #7E7E1E
monochromatic
#06111B #122F4D #1E4E7E #2A6DAF #448BD2

Accessibility & contrast

On white

8.58
#1E4E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E4E7E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E7E#FFFFFF#000000##FFFFFF
##1E4E7E1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4e7e;
/* rgb */ color: rgb(30, 78, 126);
/* oklch */ color: oklch(41.6% 0.096 251.2);
Tailwind
colors: {
  custom: {
    50: '#687fa3',
    500: '#1e4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e7e;
$custom-light: #687fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e7e",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 210,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41644,
    "c": 0.09557,
    "h": 251.2
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#1E4E7E
secondary
#B17C47
accent
#9443E5
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1E4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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