#1C4F8A#1C4F8A

#1C4F8A is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.112 H 254.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1C4F8A
RGBrgb(28, 79, 138)
HSLhsl(212, 66%, 33%)
HSVhsv(212, 80%, 54%)
CMYKcmyk(79.7%, 42.8%, 0%, 45.9%)
CIE-LABlab(33.29, 5.38, -37.66)
CIE-LCHlch(33.29, 38.04, 278.13°)
OKLaboklab(42.61% -0.0299 -0.1077)
OKLCHoklch(42.61% 0.112 254.5)
XYZxyz(7.8606, 7.6729, 25.1066)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F8A #8A571C
analogous
#1C868A #1C4F8A #201C8A
triadic
#1C4F8A #8A1C4F #4F8A1C
tetradic
#1C4F8A #8A1C86 #8A571C #1C8A20
square
#1C4F8A #8A1C86 #8A571C #1C8A20
split-complementary
#1C4F8A #8A201C #868A1C
monochromatic
#071524 #123257 #1C4F8A #266CBD #478BDA

Accessibility & contrast

On white

8.28
#1C4F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1C4F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F8A
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F8A#FFFFFF#000000##FFFFFF
##1C4F8A1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548C
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1c4f8a;
/* rgb */ color: rgb(28, 79, 138);
/* oklch */ color: oklch(42.6% 0.112 254.5);
Tailwind
colors: {
  custom: {
    50: '#6a7fac',
    500: '#1c4f8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f8a;
$custom-light: #6a7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f8a",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 212.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42614,
    "c": 0.11177,
    "h": 254.5
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#1C4F8A
secondary
#BB8546
accent
#9A3FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1C4F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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