#1C4F97#1C4F97

#1C4F97 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.5% C 0.130 H 257.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#1C4F97
RGBrgb(28, 79, 151)
HSLhsl(215, 69%, 35%)
HSVhsv(215, 81%, 59%)
CMYKcmyk(81.5%, 47.7%, 0%, 40.8%)
CIE-LABlab(34.13, 10.61, -44.23)
CIE-LCHlch(34.13, 45.48, 283.49°)
OKLaboklab(43.54% -0.0272 -0.127)
OKLCHoklch(43.54% 0.13 257.9)
XYZxyz(8.8587, 8.0721, 30.3633)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F97 #97641C
analogous
#1C8C97 #1C4F97 #271C97
triadic
#1C4F97 #971C4F #4F971C
tetradic
#1C4F97 #971C8C #97641C #1C9727
square
#1C4F97 #971C8C #97641C #1C9727
split-complementary
#1C4F97 #97271C #8C971C
monochromatic
#091930 #123463 #1C4F97 #266ACB #4F8ADE

Accessibility & contrast

On white

8.03
#1C4F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1C4F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F97
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F97#FFFFFF#000000##FFFFFF
##1C4F971.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#034B96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1c4f97;
/* rgb */ color: rgb(28, 79, 151);
/* oklch */ color: oklch(43.5% 0.130 257.9);
Tailwind
colors: {
  custom: {
    50: '#6d7fb6',
    500: '#1c4f97',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f97;
$custom-light: #6d7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f97",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 215.122,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43535,
    "c": 0.12992,
    "h": 257.9
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

primary
#1C4F97
secondary
#C1914E
accent
#A33CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1C4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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