#1C4E7F#1C4E7F

#1C4E7F is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.098 H 251.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#1C4E7F
RGBrgb(28, 78, 127)
HSLhsl(210, 64%, 30%)
HSVhsv(210, 78%, 50%)
CMYKcmyk(78%, 38.6%, 0%, 50.2%)
CIE-LABlab(32.32, 1.64, -32.43)
CIE-LCHlch(32.32, 32.47, 272.89°)
OKLaboklab(41.64% -0.0317 -0.0924)
OKLCHoklch(41.64% 0.098 251)
XYZxyz(7.0326, 7.2272, 21.0989)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E7F #7F4D1C
analogous
#1C7F7E #1C4E7F #1C1C7F
triadic
#1C4E7F #7F1C4E #4E7F1C
tetradic
#1C4E7F #7E1C7F #7F4D1C #1C7F1C
square
#1C4E7F #7E1C7F #7F4D1C #1C7F1C
split-complementary
#1C4E7F #7F1C1C #7F7E1C
monochromatic
#06101B #112F4D #1C4E7F #276DB1 #408BD5

Accessibility & contrast

On white

8.59
#1C4E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1C4E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4E7F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E7F#FFFFFF#000000##FFFFFF
##1C4E7F1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#28487E
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1c4e7f;
/* rgb */ color: rgb(28, 78, 127);
/* oklch */ color: oklch(41.6% 0.098 251.0);
Tailwind
colors: {
  custom: {
    50: '#677fa4',
    500: '#1c4e7f',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e7f;
$custom-light: #677fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e7f",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 209.697,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41639,
    "c": 0.09768,
    "h": 251
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#1C4E7F
secondary
#B37B44
accent
#9341E7
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1C4E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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