#1C4F87#1C4F87

#1C4F87 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.108 H 253.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#1C4F87
RGBrgb(28, 79, 135)
HSLhsl(211, 66%, 32%)
HSVhsv(211, 79%, 53%)
CMYKcmyk(79.3%, 41.5%, 0%, 47.1%)
CIE-LABlab(33.11, 4.17, -36.11)
CIE-LCHlch(33.11, 36.35, 276.59°)
OKLaboklab(42.41% -0.0306 -0.1032)
OKLCHoklch(42.41% 0.108 253.5)
XYZxyz(7.6464, 7.5872, 23.9785)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F87 #87541C
analogous
#1C8587 #1C4F87 #1F1C87
triadic
#1C4F87 #871C4F #4F871C
tetradic
#1C4F87 #871C85 #87541C #1C871F
square
#1C4F87 #871C85 #87541C #1C871F
split-complementary
#1C4F87 #871F1C #85871C
monochromatic
#071422 #113154 #1C4F87 #276DBA #458BD8

Accessibility & contrast

On white

8.34
#1C4F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C4F87
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F87#FFFFFF#000000##FFFFFF
##1C4F871.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c4f87;
/* rgb */ color: rgb(28, 79, 135);
/* oklch */ color: oklch(42.4% 0.108 253.5);
Tailwind
colors: {
  custom: {
    50: '#697faa',
    500: '#1c4f87',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f87;
$custom-light: #697faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f87",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 211.402,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4241,
    "c": 0.10761,
    "h": 253.5
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#1C4F87
secondary
#BA8245
accent
#983FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1C4F87

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

Preview Lab → · Contrast checker → · Palette generator →

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