#1E4D8A#1E4D8A

#1E4D8A is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.2% C 0.114 H 256.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1E4D8A
RGBrgb(30, 77, 138)
HSLhsl(214, 64%, 33%)
HSVhsv(214, 78%, 54%)
CMYKcmyk(78.3%, 44.2%, 0%, 45.9%)
CIE-LABlab(32.74, 6.96, -38.53)
CIE-LCHlch(32.74, 39.16, 280.24°)
OKLaboklab(42.2% -0.0268 -0.1103)
OKLCHoklch(42.2% 0.114 256.3)
XYZxyz(7.7751, 7.4179, 25.0618)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D8A #8A5B1E
analogous
#1E838A #1E4D8A #251E8A
triadic
#1E4D8A #8A1E4D #4D8A1E
tetradic
#1E4D8A #8A1E83 #8A5B1E #1E8A25
square
#1E4D8A #8A1E83 #8A5B1E #1E8A25
split-complementary
#1E4D8A #8A251E #838A1E
monochromatic
#081525 #133158 #1E4D8A #2969BC #4B88D8

Accessibility & contrast

On white

8.45
#1E4D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1E4D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D8A
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D8A#FFFFFF#000000##FFFFFF
##1E4D8A1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528C
Deuteranopia (green-blind)
#1B4889
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e4d8a;
/* rgb */ color: rgb(30, 77, 138);
/* oklch */ color: oklch(42.2% 0.114 256.3);
Tailwind
colors: {
  custom: {
    50: '#6b7eac',
    500: '#1e4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d8a;
$custom-light: #6b7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d8a",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 213.889,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42202,
    "c": 0.11351,
    "h": 256.3
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#1E4D8A
secondary
#BA894A
accent
#9F41E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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