#1C4A8A#1C4A8A

#1C4A8A is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.4% C 0.118 H 257.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#1C4A8A
RGBrgb(28, 74, 138)
HSLhsl(215, 66%, 33%)
HSVhsv(215, 80%, 54%)
CMYKcmyk(79.7%, 46.4%, 0%, 45.9%)
CIE-LABlab(31.76, 8.73, -40.11)
CIE-LCHlch(31.76, 41.05, 282.28°)
OKLaboklab(41.42% -0.0254 -0.115)
OKLCHoklch(41.42% 0.118 257.5)
XYZxyz(7.5134, 6.9785, 24.9908)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4A8A #8A5C1C
analogous
#1C818A #1C4A8A #251C8A
triadic
#1C4A8A #8A1C4A #4A8A1C
tetradic
#1C4A8A #8A1C81 #8A5C1C #1C8A25
square
#1C4A8A #8A1C81 #8A5C1C #1C8A25
split-complementary
#1C4A8A #8A251C #818A1C
monochromatic
#071324 #122F57 #1C4A8A #2665BD #4784DA

Accessibility & contrast

On white

8.77
#1C4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1C4A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4A8A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4A8A#FFFFFF#000000##FFFFFF
##1C4A8A1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#104689
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1c4a8a;
/* rgb */ color: rgb(28, 74, 138);
/* oklch */ color: oklch(41.4% 0.118 257.5);
Tailwind
colors: {
  custom: {
    50: '#6a7cac',
    500: '#1c4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c4a8a;
$custom-light: #6a7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4a8a",
  "rgb": {
    "r": 28,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 214.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41424,
    "c": 0.1178,
    "h": 257.5
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#1C4A8A
secondary
#BB8A46
accent
#A23FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1C4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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