#1C4E97#1C4E97

#1C4E97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.131 H 258.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#1C4E97
RGBrgb(28, 78, 151)
HSLhsl(216, 69%, 35%)
HSVhsv(216, 81%, 59%)
CMYKcmyk(81.5%, 48.3%, 0%, 40.8%)
CIE-LABlab(33.83, 11.28, -44.71)
CIE-LCHlch(33.83, 46.11, 284.16°)
OKLaboklab(43.31% -0.0264 -0.1285)
OKLCHoklch(43.31% 0.131 258.4)
XYZxyz(8.7871, 7.9290, 30.3395)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E97 #97651C
analogous
#1C8B97 #1C4E97 #281C97
triadic
#1C4E97 #971C4E #4E971C
tetradic
#1C4E97 #971C8B #97651C #1C9728
square
#1C4E97 #971C8B #97651C #1C9728
split-complementary
#1C4E97 #97281C #8B971C
monochromatic
#091930 #123363 #1C4E97 #2669CB #4F89DE

Accessibility & contrast

On white

8.12
#1C4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1C4E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4E97
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E97#FFFFFF#000000##FFFFFF
##1C4E971.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25559A
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1c4e97;
/* rgb */ color: rgb(28, 78, 151);
/* oklch */ color: oklch(43.3% 0.131 258.4);
Tailwind
colors: {
  custom: {
    50: '#6d7fb6',
    500: '#1c4e97',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e97;
$custom-light: #6d7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e97",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 215.61,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.13115,
    "h": 258.4
  },
  "luminance": 0.0793
}

Semantic roles & 50–950 ramp

primary
#1C4E97
secondary
#C1924E
accent
#A43CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1C4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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