#1C4E9A#1C4E9A

#1C4E9A is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.135 H 259.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#1C4E9A
RGBrgb(28, 78, 154)
HSLhsl(216, 69%, 36%)
HSVhsv(216, 82%, 60%)
CMYKcmyk(81.8%, 49.4%, 0%, 39.6%)
CIE-LABlab(34.04, 12.49, -46.19)
CIE-LCHlch(34.04, 47.85, 285.13°)
OKLaboklab(43.53% -0.0259 -0.1328)
OKLCHoklch(43.53% 0.135 259)
XYZxyz(9.0339, 8.0277, 31.6390)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E9A #9A681C
analogous
#1C8D9A #1C4E9A #291C9A
triadic
#1C4E9A #9A1C4E #4E9A1C
tetradic
#1C4E9A #9A1C8D #9A681C #1C9A29
square
#1C4E9A #9A1C8D #9A681C #1C9A29
split-complementary
#1C4E9A #9A291C #8D9A1C
monochromatic
#091A32 #133466 #1C4E9A #2568CE #518ADF

Accessibility & contrast

On white

8.06
#1C4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1C4E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4E9A
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E9A#FFFFFF#000000##FFFFFF
##1C4E9A1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1c4e9a;
/* rgb */ color: rgb(28, 78, 154);
/* oklch */ color: oklch(43.5% 0.135 259.0);
Tailwind
colors: {
  custom: {
    50: '#6e7eb8',
    500: '#1c4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e9a;
$custom-light: #6e7eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e9a",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 216.19,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4353,
    "c": 0.13534,
    "h": 259
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#1C4E9A
secondary
#C29550
accent
#A63CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1C4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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