#1C4C99#1C4C99

#1C4C99 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.136 H 259.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#1C4C99
RGBrgb(28, 76, 153)
HSLhsl(217, 69%, 35%)
HSVhsv(217, 82%, 60%)
CMYKcmyk(81.7%, 50.3%, 0%, 40%)
CIE-LABlab(33.38, 13.44, -46.65)
CIE-LCHlch(33.38, 48.55, 286.07°)
OKLaboklab(43% -0.0245 -0.1342)
OKLCHoklch(43% 0.136 259.7)
XYZxyz(8.8110, 7.7146, 31.1555)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4C99 #99691C
analogous
#1C8A99 #1C4C99 #2A1C99
triadic
#1C4C99 #991C4C #4C991C
tetradic
#1C4C99 #991C8A #99691C #1C992A
square
#1C4C99 #991C8A #99691C #1C992A
split-complementary
#1C4C99 #992A1C #8A991C
monochromatic
#091932 #133265 #1C4C99 #2566CD #5087DF

Accessibility & contrast

On white

8.26
#1C4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1C4C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4C99
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4C99#FFFFFF#000000##FFFFFF
##1C4C991.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1c4c99;
/* rgb */ color: rgb(28, 76, 153);
/* oklch */ color: oklch(43.0% 0.136 259.7);
Tailwind
colors: {
  custom: {
    50: '#6e7db8',
    500: '#1c4c99',
    950: '#000000',
  },
}
SCSS
$custom: #1c4c99;
$custom-light: #6e7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4c99",
  "rgb": {
    "r": 28,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 216.96,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.13644,
    "h": 259.7
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#1C4C99
secondary
#C2964F
accent
#A83CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1C4C99

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

Preview Lab → · Contrast checker → · Palette generator →

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