#1C4C97#1C4C97

#1C4C97 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.134 H 259.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#1C4C97
RGBrgb(28, 76, 151)
HSLhsl(217, 69%, 35%)
HSVhsv(217, 81%, 59%)
CMYKcmyk(81.5%, 49.7%, 0%, 40.8%)
CIE-LABlab(33.24, 12.63, -45.67)
CIE-LCHlch(33.24, 47.38, 285.46°)
OKLaboklab(42.85% -0.0248 -0.1313)
OKLCHoklch(42.85% 0.134 259.3)
XYZxyz(8.6472, 7.6491, 30.2928)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4C97 #97671C
analogous
#1C8A97 #1C4C97 #291C97
triadic
#1C4C97 #971C4C #4C971C
tetradic
#1C4C97 #971C8A #97671C #1C9729
square
#1C4C97 #971C8A #97671C #1C9729
split-complementary
#1C4C97 #97291C #8A971C
monochromatic
#091830 #123263 #1C4C97 #2666CB #4F87DE

Accessibility & contrast

On white

8.30
#1C4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1C4C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4C97
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4C97#FFFFFF#000000##FFFFFF
##1C4C971.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c4c97;
/* rgb */ color: rgb(28, 76, 151);
/* oklch */ color: oklch(42.8% 0.134 259.3);
Tailwind
colors: {
  custom: {
    50: '#6d7db6',
    500: '#1c4c97',
    950: '#000000',
  },
}
SCSS
$custom: #1c4c97;
$custom-light: #6d7db6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4c97",
  "rgb": {
    "r": 28,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 216.585,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42849,
    "c": 0.13365,
    "h": 259.3
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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