#1E4F7E#1E4F7E

#1E4F7E is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.095 H 250.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#1E4F7E
RGBrgb(30, 79, 126)
HSLhsl(209, 62%, 31%)
HSVhsv(209, 76%, 49%)
CMYKcmyk(76.2%, 37.3%, 0%, 50.6%)
CIE-LABlab(32.64, 0.87, -31.29)
CIE-LCHlch(32.64, 31.30, 271.59°)
OKLaboklab(41.89% -0.0317 -0.089)
OKLCHoklch(41.89% 0.095 250.4)
XYZxyz(7.0959, 7.3735, 20.7839)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F7E #7E4D1E
analogous
#1E7E7D #1E4F7E #1E1F7E
triadic
#1E4F7E #7E1E4F #4F7E1E
tetradic
#1E4F7E #7D1E7E #7E4D1E #1F7E1E
square
#1E4F7E #7D1E7E #7E4D1E #1F7E1E
split-complementary
#1E4F7E #7E1E1F #7E7D1E
monochromatic
#06111B #12304D #1E4F7E #2A6EAF #448DD2

Accessibility & contrast

On white

8.49
#1E4F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1E4F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F7E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F7E#FFFFFF#000000##FFFFFF
##1E4F7E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#2B497D
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e4f7e;
/* rgb */ color: rgb(30, 79, 126);
/* oklch */ color: oklch(41.9% 0.095 250.4);
Tailwind
colors: {
  custom: {
    50: '#6880a3',
    500: '#1e4f7e',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f7e;
$custom-light: #6880a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f7e",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 209.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41892,
    "c": 0.0945,
    "h": 250.4
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#1E4F7E
secondary
#B17B47
accent
#9243E5
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1E4F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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