#1C4D97#1C4D97

#1C4D97 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.132 H 258.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#1C4D97
RGBrgb(28, 77, 151)
HSLhsl(216, 69%, 35%)
HSVhsv(216, 81%, 59%)
CMYKcmyk(81.5%, 49%, 0%, 40.8%)
CIE-LABlab(33.54, 11.96, -45.19)
CIE-LCHlch(33.54, 46.74, 284.82°)
OKLaboklab(43.08% -0.0256 -0.1299)
OKLCHoklch(43.08% 0.132 258.9)
XYZxyz(8.7166, 7.7880, 30.3160)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4D97 #97661C
analogous
#1C8A97 #1C4D97 #291C97
triadic
#1C4D97 #971C4D #4D971C
tetradic
#1C4D97 #971C8A #97661C #1C9729
square
#1C4D97 #971C8A #97661C #1C9729
split-complementary
#1C4D97 #97291C #8A971C
monochromatic
#091830 #123363 #1C4D97 #2667CB #4F88DE

Accessibility & contrast

On white

8.21
#1C4D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1C4D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4D97
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4D97#FFFFFF#000000##FFFFFF
##1C4D971.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1c4d97;
/* rgb */ color: rgb(28, 77, 151);
/* oklch */ color: oklch(43.1% 0.132 258.9);
Tailwind
colors: {
  custom: {
    50: '#6d7eb6',
    500: '#1c4d97',
    950: '#000000',
  },
}
SCSS
$custom: #1c4d97;
$custom-light: #6d7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4d97",
  "rgb": {
    "r": 28,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 216.098,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43077,
    "c": 0.1324,
    "h": 258.9
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#1C4D97
secondary
#C1934E
accent
#A63CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1C4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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