#1C4D8A#1C4D8A

#1C4D8A is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.114 H 255.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#1C4D8A
RGBrgb(28, 77, 138)
HSLhsl(213, 66%, 33%)
HSVhsv(213, 80%, 54%)
CMYKcmyk(79.7%, 44.2%, 0%, 45.9%)
CIE-LABlab(32.68, 6.71, -38.64)
CIE-LCHlch(32.68, 39.22, 279.85°)
OKLaboklab(42.14% -0.0281 -0.1106)
OKLCHoklch(42.14% 0.114 255.8)
XYZxyz(7.7185, 7.3887, 25.0592)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4D8A #8A591C
analogous
#1C848A #1C4D8A #221C8A
triadic
#1C4D8A #8A1C4D #4D8A1C
tetradic
#1C4D8A #8A1C84 #8A591C #1C8A22
square
#1C4D8A #8A1C84 #8A591C #1C8A22
split-complementary
#1C4D8A #8A221C #848A1C
monochromatic
#071424 #123157 #1C4D8A #2669BD #4788DA

Accessibility & contrast

On white

8.47
#1C4D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1C4D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4D8A
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4D8A#FFFFFF#000000##FFFFFF
##1C4D8A1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#1A4889
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1c4d8a;
/* rgb */ color: rgb(28, 77, 138);
/* oklch */ color: oklch(42.1% 0.114 255.8);
Tailwind
colors: {
  custom: {
    50: '#6a7eac',
    500: '#1c4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c4d8a;
$custom-light: #6a7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4d8a",
  "rgb": {
    "r": 28,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 213.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42135,
    "c": 0.11415,
    "h": 255.8
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#1C4D8A
secondary
#BB8746
accent
#9D3FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1C4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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