#1E4D87#1E4D87

#1E4D87 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 42.0% C 0.109 H 255.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#1E4D87
RGBrgb(30, 77, 135)
HSLhsl(213, 64%, 32%)
HSVhsv(213, 78%, 53%)
CMYKcmyk(77.8%, 43%, 0%, 47.1%)
CIE-LABlab(32.55, 5.76, -36.99)
CIE-LCHlch(32.55, 37.44, 278.86°)
OKLaboklab(42% -0.0275 -0.1058)
OKLCHoklch(42% 0.109 255.4)
XYZxyz(7.5609, 7.3322, 23.9337)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4D87 #87581E
analogous
#1E8187 #1E4D87 #241E87
triadic
#1E4D87 #871E4D #4D871E
tetradic
#1E4D87 #871E81 #87581E #1E8724
square
#1E4D87 #871E81 #87581E #1E8724
split-complementary
#1E4D87 #87241E #81871E
monochromatic
#081423 #133055 #1E4D87 #296AB9 #4988D7

Accessibility & contrast

On white

8.51
#1E4D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1E4D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4D87
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4D87#FFFFFF#000000##FFFFFF
##1E4D871.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315289
Deuteranopia (green-blind)
#1F4886
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1e4d87;
/* rgb */ color: rgb(30, 77, 135);
/* oklch */ color: oklch(42.0% 0.109 255.4);
Tailwind
colors: {
  custom: {
    50: '#6a7eaa',
    500: '#1e4d87',
    950: '#000000',
  },
}
SCSS
$custom: #1e4d87;
$custom-light: #6a7eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4d87",
  "rgb": {
    "r": 30,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 213.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41995,
    "c": 0.10928,
    "h": 255.4
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#1E4D87
secondary
#B98648
accent
#9D41E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1E4D87

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

Preview Lab → · Contrast checker → · Palette generator →

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