#1C4FA6#1C4FA6

#1C4FA6 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.151 H 260.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#1C4FA6
RGBrgb(28, 79, 166)
HSLhsl(218, 71%, 38%)
HSVhsv(218, 83%, 65%)
CMYKcmyk(83.1%, 52.4%, 0%, 34.9%)
CIE-LABlab(35.18, 16.64, -51.56)
CIE-LCHlch(35.18, 54.18, 287.88°)
OKLaboklab(44.68% -0.0249 -0.1486)
OKLCHoklch(44.68% 0.151 260.5)
XYZxyz(10.1553, 8.5908, 37.1919)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4FA6 #A6731C
analogous
#1C94A6 #1C4FA6 #2E1CA6
triadic
#1C4FA6 #A61C4F #4FA61C
tetradic
#1C4FA6 #A61C94 #A6731C #1CA62E
square
#1C4FA6 #A61C94 #A6731C #1CA62E
split-complementary
#1C4FA6 #A62E1C #94A61C
monochromatic
#0A1D3D #133672 #1C4FA6 #2568DA #598CE3

Accessibility & contrast

On white

7.73
#1C4FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1C4FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4FA6
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4FA6#FFFFFF#000000##FFFFFF
##1C4FA61.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1c4fa6;
/* rgb */ color: rgb(28, 79, 166);
/* oklch */ color: oklch(44.7% 0.151 260.5);
Tailwind
colors: {
  custom: {
    50: '#717fc1',
    500: '#1c4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #1c4fa6;
$custom-light: #717fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4fa6",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 217.826,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44677,
    "c": 0.15068,
    "h": 260.5
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#1C4FA6
secondary
#C79D57
accent
#AB3AEE
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1C4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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