#1E4F8D#1E4F8D

#1E4F8D is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.9% C 0.115 H 256.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#1E4F8D
RGBrgb(30, 79, 141)
HSLhsl(214, 65%, 34%)
HSVhsv(214, 79%, 55%)
CMYKcmyk(78.7%, 44%, 0%, 44.7%)
CIE-LABlab(33.54, 6.83, -39.09)
CIE-LCHlch(33.54, 39.68, 279.91°)
OKLaboklab(42.89% -0.028 -0.1119)
OKLCHoklch(42.89% 0.115 256)
XYZxyz(8.1373, 7.7901, 26.2689)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F8D #8D5C1E
analogous
#1E868D #1E4F8D #251E8D
triadic
#1E4F8D #8D1E4F #4F8D1E
tetradic
#1E4F8D #8D1E86 #8D5C1E #1E8D25
square
#1E4F8D #8D1E86 #8D5C1E #1E8D25
split-complementary
#1E4F8D #8D251E #868D1E
monochromatic
#091628 #13335B #1E4F8D #296BBF #4C8AD9

Accessibility & contrast

On white

8.21
#1E4F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1E4F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F8D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F8D#FFFFFF#000000##FFFFFF
##1E4F8D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#1C4A8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1e4f8d;
/* rgb */ color: rgb(30, 79, 141);
/* oklch */ color: oklch(42.9% 0.115 256.0);
Tailwind
colors: {
  custom: {
    50: '#6b7faf',
    500: '#1e4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f8d;
$custom-light: #6b7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f8d",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 213.514,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42886,
    "c": 0.11533,
    "h": 256
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#1E4F8D
secondary
#BC8A4B
accent
#9E40E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1E4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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