#1E4F87#1E4F87

#1E4F87 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.107 H 254.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#1E4F87
RGBrgb(30, 79, 135)
HSLhsl(212, 64%, 32%)
HSVhsv(212, 78%, 53%)
CMYKcmyk(77.8%, 41.5%, 0%, 47.1%)
CIE-LABlab(33.17, 4.43, -36.00)
CIE-LCHlch(33.17, 36.28, 277.02°)
OKLaboklab(42.48% -0.0294 -0.1028)
OKLCHoklch(42.48% 0.107 254.1)
XYZxyz(7.7029, 7.6164, 23.9811)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4F87 #87561E
analogous
#1E8387 #1E4F87 #221E87
triadic
#1E4F87 #871E4F #4F871E
tetradic
#1E4F87 #871E83 #87561E #1E8722
square
#1E4F87 #871E83 #87561E #1E8722
split-complementary
#1E4F87 #87221E #83871E
monochromatic
#081423 #133255 #1E4F87 #296CB9 #498BD7

Accessibility & contrast

On white

8.32
#1E4F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1E4F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4F87
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4F87#FFFFFF#000000##FFFFFF
##1E4F871.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345389
Deuteranopia (green-blind)
#234A86
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1e4f87;
/* rgb */ color: rgb(30, 79, 135);
/* oklch */ color: oklch(42.5% 0.107 254.1);
Tailwind
colors: {
  custom: {
    50: '#6a7faa',
    500: '#1e4f87',
    950: '#000000',
  },
}
SCSS
$custom: #1e4f87;
$custom-light: #6a7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4f87",
  "rgb": {
    "r": 30,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 212,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42477,
    "c": 0.10694,
    "h": 254.1
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#1E4F87
secondary
#B98448
accent
#9941E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1E4F87

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

Preview Lab → · Contrast checker → · Palette generator →

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