#1C4E87#1C4E87

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

Color values

HEX#1C4E87
RGBrgb(28, 78, 135)
HSLhsl(212, 66%, 32%)
HSVhsv(212, 79%, 53%)
CMYKcmyk(79.3%, 42.2%, 0%, 47.1%)
CIE-LABlab(32.80, 4.84, -36.60)
CIE-LCHlch(32.80, 36.92, 277.53°)
OKLaboklab(42.17% -0.0297 -0.1046)
OKLCHoklch(42.17% 0.109 254.2)
XYZxyz(7.5748, 7.4440, 23.9546)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E87 #87551C
analogous
#1C8487 #1C4E87 #201C87
triadic
#1C4E87 #871C4E #4E871C
tetradic
#1C4E87 #871C84 #87551C #1C8720
square
#1C4E87 #871C84 #87551C #1C8720
split-complementary
#1C4E87 #87201C #84871C
monochromatic
#071322 #113154 #1C4E87 #276BBA #458AD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C4E87#FFFFFF#000000##FFFFFF
##1C4E871.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)
#325289
Deuteranopia (green-blind)
#204986
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1c4e87;
/* rgb */ color: rgb(28, 78, 135);
/* oklch */ color: oklch(42.2% 0.109 254.2);
Tailwind
colors: {
  custom: {
    50: '#697faa',
    500: '#1c4e87',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e87;
$custom-light: #697faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e87",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 211.963,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42168,
    "c": 0.10876,
    "h": 254.2
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#1C4E87
secondary
#BA8345
accent
#993FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1C4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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