#1C4F8D#1C4F8D

#1C4F8D is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.116 H 255.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#1C4F8D
RGBrgb(28, 79, 141)
HSLhsl(213, 67%, 33%)
HSVhsv(213, 80%, 55%)
CMYKcmyk(80.1%, 44%, 0%, 44.7%)
CIE-LABlab(33.48, 6.58, -39.19)
CIE-LCHlch(33.48, 39.74, 279.53°)
OKLaboklab(42.82% -0.0292 -0.1122)
OKLCHoklch(42.82% 0.116 255.4)
XYZxyz(8.0808, 7.7610, 26.2663)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F8D #8D5A1C
analogous
#1C878D #1C4F8D #211C8D
triadic
#1C4F8D #8D1C4F #4F8D1C
tetradic
#1C4F8D #8D1C87 #8D5A1C #1C8D21
square
#1C4F8D #8D1C87 #8D5A1C #1C8D21
split-complementary
#1C4F8D #8D211C #878D1C
monochromatic
#081627 #12325A #1C4F8D #266CC0 #498BDB

Accessibility & contrast

On white

8.23
#1C4F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1C4F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F8D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F8D#FFFFFF#000000##FFFFFF
##1C4F8D1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1c4f8d;
/* rgb */ color: rgb(28, 79, 141);
/* oklch */ color: oklch(42.8% 0.116 255.4);
Tailwind
colors: {
  custom: {
    50: '#6b7faf',
    500: '#1c4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f8d;
$custom-light: #6b7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f8d",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 212.92,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4282,
    "c": 0.11596,
    "h": 255.4
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#1C4F8D
secondary
#BD8848
accent
#9C3EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1C4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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