#1E4E7B#1E4E7B

#1E4E7B is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.091 H 249.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#1E4E7B
RGBrgb(30, 78, 123)
HSLhsl(209, 61%, 30%)
HSVhsv(209, 76%, 48%)
CMYKcmyk(75.6%, 36.6%, 0%, 51.8%)
CIE-LABlab(32.16, 0.34, -30.20)
CIE-LCHlch(32.16, 30.20, 270.65°)
OKLaboklab(41.46% -0.0316 -0.0858)
OKLCHoklch(41.46% 0.091 249.8)
XYZxyz(6.8336, 7.1541, 19.7558)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4E7B #7B4B1E
analogous
#1E7B79 #1E4E7B #1E207B
triadic
#1E4E7B #7B1E4E #4E7B1E
tetradic
#1E4E7B #791E7B #7B4B1E #207B1E
square
#1E4E7B #791E7B #7B4B1E #207B1E
split-complementary
#1E4E7B #7B1E20 #7B791E
monochromatic
#061019 #122F4A #1E4E7B #2A6DAC #428CD1

Accessibility & contrast

On white

8.64
#1E4E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1E4E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4E7B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4E7B#FFFFFF#000000##FFFFFF
##1E4E7B1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#2C487A
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1e4e7b;
/* rgb */ color: rgb(30, 78, 123);
/* oklch */ color: oklch(41.5% 0.091 249.8);
Tailwind
colors: {
  custom: {
    50: '#677fa1',
    500: '#1e4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #1e4e7b;
$custom-light: #677fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4e7b",
  "rgb": {
    "r": 30,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 209.032,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.41455,
    "c": 0.09146,
    "h": 249.8
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#1E4E7B
secondary
#AE7946
accent
#9144E4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1E4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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