#1C4E8D#1C4E8D

#1C4E8D is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.6% C 0.117 H 256.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#1C4E8D
RGBrgb(28, 78, 141)
HSLhsl(213, 67%, 33%)
HSVhsv(213, 80%, 55%)
CMYKcmyk(80.1%, 44.7%, 0%, 44.7%)
CIE-LABlab(33.17, 7.25, -39.68)
CIE-LCHlch(33.17, 40.34, 280.35°)
OKLaboklab(42.58% -0.0283 -0.1137)
OKLCHoklch(42.58% 0.117 256)
XYZxyz(8.0092, 7.6178, 26.2424)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E8D #8D5B1C
analogous
#1C868D #1C4E8D #221C8D
triadic
#1C4E8D #8D1C4E #4E8D1C
tetradic
#1C4E8D #8D1C86 #8D5B1C #1C8D22
square
#1C4E8D #8D1C86 #8D5B1C #1C8D22
split-complementary
#1C4E8D #8D221C #868D1C
monochromatic
#081627 #12325A #1C4E8D #266AC0 #4989DB

Accessibility & contrast

On white

8.32
#1C4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C4E8D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E8D#FFFFFF#000000##FFFFFF
##1C4E8D1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E548F
Deuteranopia (green-blind)
#18498C
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1c4e8d;
/* rgb */ color: rgb(28, 78, 141);
/* oklch */ color: oklch(42.6% 0.117 256.0);
Tailwind
colors: {
  custom: {
    50: '#6b7faf',
    500: '#1c4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e8d;
$custom-light: #6b7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e8d",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 213.451,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42583,
    "c": 0.11716,
    "h": 256
  },
  "luminance": 0.07619
}

Semantic roles & 50–950 ramp

primary
#1C4E8D
secondary
#BD8948
accent
#9E3EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1C4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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