#1C4C98#1C4C98

#1C4C98 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.135 H 259.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1C4C98
RGBrgb(28, 76, 152)
HSLhsl(217, 69%, 35%)
HSVhsv(217, 82%, 60%)
CMYKcmyk(81.6%, 50%, 0%, 40.4%)
CIE-LABlab(33.31, 13.04, -46.16)
CIE-LCHlch(33.31, 47.96, 285.77°)
OKLaboklab(42.93% -0.0246 -0.1328)
OKLCHoklch(42.93% 0.135 259.5)
XYZxyz(8.7288, 7.6817, 30.7223)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4C98 #98681C
analogous
#1C8A98 #1C4C98 #2A1C98
triadic
#1C4C98 #981C4C #4C981C
tetradic
#1C4C98 #981C8A #98681C #1C982A
square
#1C4C98 #981C8A #98681C #1C982A
split-complementary
#1C4C98 #982A1C #8A981C
monochromatic
#091831 #123264 #1C4C98 #2666CC #5087DF

Accessibility & contrast

On white

8.28
#1C4C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C4C98
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4C98#FFFFFF#000000##FFFFFF
##1C4C981.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1c4c98;
/* rgb */ color: rgb(28, 76, 152);
/* oklch */ color: oklch(42.9% 0.135 259.5);
Tailwind
colors: {
  custom: {
    50: '#6d7db7',
    500: '#1c4c98',
    950: '#000000',
  },
}
SCSS
$custom: #1c4c98;
$custom-light: #6d7db7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4c98",
  "rgb": {
    "r": 28,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 216.774,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42925,
    "c": 0.13505,
    "h": 259.5
  },
  "luminance": 0.07683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C4C98

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

Preview Lab → · Contrast checker → · Palette generator →

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