#1C4EA7#1C4EA7

#1C4EA7 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.153 H 260.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#1C4EA7
RGBrgb(28, 78, 167)
HSLhsl(218, 71%, 38%)
HSVhsv(218, 83%, 65%)
CMYKcmyk(83.2%, 53.3%, 0%, 34.5%)
CIE-LABlab(34.97, 17.71, -52.50)
CIE-LCHlch(34.97, 55.41, 288.64°)
OKLaboklab(44.54% -0.0241 -0.1514)
OKLCHoklch(44.54% 0.153 260.9)
XYZxyz(10.1758, 8.4844, 37.6531)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4EA7 #A7751C
analogous
#1C93A7 #1C4EA7 #2F1CA7
triadic
#1C4EA7 #A71C4E #4EA71C
tetradic
#1C4EA7 #A71C93 #A7751C #1CA72F
square
#1C4EA7 #A71C93 #A7751C #1CA72F
split-complementary
#1C4EA7 #A72F1C #93A71C
monochromatic
#0A1D3E #133673 #1C4EA7 #2667DB #5A8BE3

Accessibility & contrast

On white

7.79
#1C4EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1C4EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4EA7
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4EA7#FFFFFF#000000##FFFFFF
##1C4EA71.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0959AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1c4ea7;
/* rgb */ color: rgb(28, 78, 167);
/* oklch */ color: oklch(44.5% 0.153 260.9);
Tailwind
colors: {
  custom: {
    50: '#717ec2',
    500: '#1c4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #1c4ea7;
$custom-light: #717ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4ea7",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 218.417,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44539,
    "c": 0.1533,
    "h": 260.9
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#1C4EA7
secondary
#C79F58
accent
#AD3AEE
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1C4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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