#1E4F89#1E4F89

#1E4F89 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.110 H 254.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1E4F89
RGBrgb(30, 79, 137)
HSLhsl(213, 64%, 33%)
HSVhsv(213, 78%, 54%)
CMYKcmyk(78.1%, 42.3%, 0%, 46.3%)
CIE-LABlab(33.29, 5.23, -37.04)
CIE-LCHlch(33.29, 37.41, 278.04°)
OKLaboklab(42.61% -0.0289 -0.1059)
OKLCHoklch(42.61% 0.11 254.7)
XYZxyz(7.8451, 7.6732, 24.7297)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F89 #89581E
analogous
#1E8589 #1E4F89 #221E89
triadic
#1E4F89 #891E4F #4F891E
tetradic
#1E4F89 #891E85 #89581E #1E8922
square
#1E4F89 #891E85 #89581E #1E8922
split-complementary
#1E4F89 #89221E #85891E
monochromatic
#081525 #133257 #1E4F89 #296CBB #4A8BD7

Accessibility & contrast

On white

8.28
#1E4F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1E4F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F89
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F89#FFFFFF#000000##FFFFFF
##1E4F891.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548B
Deuteranopia (green-blind)
#214A88
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4f89;
/* rgb */ color: rgb(30, 79, 137);
/* oklch */ color: oklch(42.6% 0.110 254.7);
Tailwind
colors: {
  custom: {
    50: '#6a7fac',
    500: '#1e4f89',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f89;
$custom-light: #6a7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f89",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 212.523,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42612,
    "c": 0.10973,
    "h": 254.7
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#1E4F89
secondary
#BA8649
accent
#9B41E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1E4F89

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

Preview Lab → · Contrast checker → · Palette generator →

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