#1C4D99#1C4D99

#1C4D99 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.2% C 0.135 H 259.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#1C4D99
RGBrgb(28, 77, 153)
HSLhsl(216, 69%, 35%)
HSVhsv(216, 82%, 60%)
CMYKcmyk(81.7%, 49.7%, 0%, 40%)
CIE-LABlab(33.68, 12.76, -46.18)
CIE-LCHlch(33.68, 47.91, 285.45°)
OKLaboklab(43.23% -0.0253 -0.1328)
OKLCHoklch(43.23% 0.135 259.2)
XYZxyz(8.8804, 7.8535, 31.1786)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4D99 #99681C
analogous
#1C8B99 #1C4D99 #291C99
triadic
#1C4D99 #991C4D #4D991C
tetradic
#1C4D99 #991C8B #99681C #1C9929
square
#1C4D99 #991C8B #99681C #1C9929
split-complementary
#1C4D99 #99291C #8B991C
monochromatic
#091932 #133365 #1C4D99 #2567CD #5088DF

Accessibility & contrast

On white

8.17
#1C4D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1C4D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4D99
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4D99#FFFFFF#000000##FFFFFF
##1C4D991.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1c4d99;
/* rgb */ color: rgb(28, 77, 153);
/* oklch */ color: oklch(43.2% 0.135 259.2);
Tailwind
colors: {
  custom: {
    50: '#6e7eb8',
    500: '#1c4d99',
    950: '#000000',
  },
}
SCSS
$custom: #1c4d99;
$custom-light: #6e7eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4d99",
  "rgb": {
    "r": 28,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 216.48,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43228,
    "c": 0.13519,
    "h": 259.2
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#1C4D99
secondary
#C2954F
accent
#A73CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1C4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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