#1E4C7A#1E4C7A

#1E4C7A is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.9% C 0.092 H 251.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#1E4C7A
RGBrgb(30, 76, 122)
HSLhsl(210, 61%, 30%)
HSVhsv(210, 75%, 48%)
CMYKcmyk(75.4%, 37.7%, 0%, 52.2%)
CIE-LABlab(31.46, 1.26, -30.67)
CIE-LCHlch(31.46, 30.70, 272.36°)
OKLaboklab(40.89% -0.0298 -0.0873)
OKLCHoklch(40.89% 0.092 251.1)
XYZxyz(6.6314, 6.8493, 19.3811)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C7A #7A4C1E
analogous
#1E7A7A #1E4C7A #1E1E7A
triadic
#1E4C7A #7A1E4C #4C7A1E
tetradic
#1E4C7A #7A1E7A #7A4C1E #1E7A1E
square
#1E4C7A #7A1E7A #7A4C1E #1E7A1E
split-complementary
#1E4C7A #7A1E1E #7A7A1E
monochromatic
#060F19 #122D49 #1E4C7A #2A6BAB #4289D0

Accessibility & contrast

On white

8.86
#1E4C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1E4C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C7A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C7A#FFFFFF#000000##FFFFFF
##1E4C7A1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#294679
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1e4c7a;
/* rgb */ color: rgb(30, 76, 122);
/* oklch */ color: oklch(40.9% 0.092 251.1);
Tailwind
colors: {
  custom: {
    50: '#677da1',
    500: '#1e4c7a',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c7a;
$custom-light: #677da1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c7a",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 122
  },
  "hsl": {
    "h": 210,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40892,
    "c": 0.09222,
    "h": 251.1
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#1E4C7A
secondary
#AE7A46
accent
#9444E4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #1E4C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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