#1E4D8B#1E4D8B

#1E4D8B is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.3% C 0.115 H 256.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#1E4D8B
RGBrgb(30, 77, 139)
HSLhsl(214, 64%, 33%)
HSVhsv(214, 78%, 55%)
CMYKcmyk(78.4%, 44.6%, 0%, 45.5%)
CIE-LABlab(32.80, 7.36, -39.05)
CIE-LCHlch(32.80, 39.74, 280.68°)
OKLaboklab(42.27% -0.0266 -0.1118)
OKLCHoklch(42.27% 0.115 256.6)
XYZxyz(7.8478, 7.4469, 25.4449)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D8B #8B5C1E
analogous
#1E838B #1E4D8B #251E8B
triadic
#1E4D8B #8B1E4D #4D8B1E
tetradic
#1E4D8B #8B1E83 #8B5C1E #1E8B25
square
#1E4D8B #8B1E83 #8B5C1E #1E8B25
split-complementary
#1E4D8B #8B251E #838B1E
monochromatic
#081526 #133159 #1E4D8B #2969BD #4B88D8

Accessibility & contrast

On white

8.44
#1E4D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1E4D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D8B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D8B#FFFFFF#000000##FFFFFF
##1E4D8B1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538D
Deuteranopia (green-blind)
#19498A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e4d8b;
/* rgb */ color: rgb(30, 77, 139);
/* oklch */ color: oklch(42.3% 0.115 256.6);
Tailwind
colors: {
  custom: {
    50: '#6b7ead',
    500: '#1e4d8b',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d8b;
$custom-light: #6b7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d8b",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 214.128,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42272,
    "c": 0.11493,
    "h": 256.6
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#1E4D8B
secondary
#BB8A4A
accent
#9F40E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1E4D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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