#1C4F8E#1C4F8E

#1C4F8E is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.9% C 0.117 H 255.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#1C4F8E
RGBrgb(28, 79, 142)
HSLhsl(213, 67%, 33%)
HSVhsv(213, 80%, 56%)
CMYKcmyk(80.3%, 44.4%, 0%, 44.3%)
CIE-LABlab(33.54, 6.98, -39.70)
CIE-LCHlch(33.54, 40.31, 279.98°)
OKLaboklab(42.89% -0.029 -0.1137)
OKLCHoklch(42.89% 0.117 255.7)
XYZxyz(8.1555, 7.7909, 26.6599)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F8E #8E5B1C
analogous
#1C888E #1C4F8E #221C8E
triadic
#1C4F8E #8E1C4F #4F8E1C
tetradic
#1C4F8E #8E1C88 #8E5B1C #1C8E22
square
#1C4F8E #8E1C88 #8E5B1C #1C8E22
split-complementary
#1C4F8E #8E221C #888E1C
monochromatic
#081628 #12335B #1C4F8E #266BC1 #498BDB

Accessibility & contrast

On white

8.21
#1C4F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1C4F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F8E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F8E#FFFFFF#000000##FFFFFF
##1C4F8E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#194A8D
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1c4f8e;
/* rgb */ color: rgb(28, 79, 142);
/* oklch */ color: oklch(42.9% 0.117 255.7);
Tailwind
colors: {
  custom: {
    50: '#6b7faf',
    500: '#1c4f8e',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f8e;
$custom-light: #6b7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f8e",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 213.158,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4289,
    "c": 0.11736,
    "h": 255.7
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#1C4F8E
secondary
#BD8949
accent
#9D3EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1C4F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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