#1C4987#1C4987

#1C4987 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 41.0% C 0.115 H 257.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#1C4987
RGBrgb(28, 73, 135)
HSLhsl(215, 66%, 32%)
HSVhsv(215, 79%, 53%)
CMYKcmyk(79.3%, 45.9%, 0%, 47.1%)
CIE-LABlab(31.26, 8.20, -39.07)
CIE-LCHlch(31.26, 39.92, 281.85°)
OKLaboklab(40.97% -0.0251 -0.112)
OKLCHoklch(40.97% 0.115 257.4)
XYZxyz(7.2330, 6.7604, 23.8407)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4987 #875A1C
analogous
#1C7F87 #1C4987 #241C87
triadic
#1C4987 #871C49 #49871C
tetradic
#1C4987 #871C7F #875A1C #1C8724
square
#1C4987 #871C7F #875A1C #1C8724
split-complementary
#1C4987 #87241C #7F871C
monochromatic
#071222 #112E54 #1C4987 #2764BA #4583D8

Accessibility & contrast

On white

8.93
#1C4987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1C4987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4987
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4987#FFFFFF#000000##FFFFFF
##1C49871.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F89
Deuteranopia (green-blind)
#134586
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1c4987;
/* rgb */ color: rgb(28, 73, 135);
/* oklch */ color: oklch(41.0% 0.115 257.4);
Tailwind
colors: {
  custom: {
    50: '#697baa',
    500: '#1c4987',
    950: '#000000',
  },
}
SCSS
$custom: #1c4987;
$custom-light: #697baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4987",
  "rgb": {
    "r": 28,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 214.766,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40972,
    "c": 0.11476,
    "h": 257.4
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#1C4987
secondary
#BA8945
accent
#A13FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1C4987

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

Preview Lab → · Contrast checker → · Palette generator →

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