#1C4FA7#1C4FA7

#1C4FA7 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.152 H 260.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#1C4FA7
RGBrgb(28, 79, 167)
HSLhsl(218, 71%, 38%)
HSVhsv(218, 83%, 65%)
CMYKcmyk(83.2%, 52.7%, 0%, 34.5%)
CIE-LABlab(35.26, 17.04, -52.04)
CIE-LCHlch(35.26, 54.75, 288.13°)
OKLaboklab(44.76% -0.0248 -0.15)
OKLCHoklch(44.76% 0.152 260.6)
XYZxyz(10.2474, 8.6276, 37.6769)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4FA7 #A7741C
analogous
#1C94A7 #1C4FA7 #2F1CA7
triadic
#1C4FA7 #A71C4F #4FA71C
tetradic
#1C4FA7 #A71C94 #A7741C #1CA72F
square
#1C4FA7 #A71C94 #A7741C #1CA72F
split-complementary
#1C4FA7 #A72F1C #94A71C
monochromatic
#0A1D3E #133673 #1C4FA7 #2668DB #5A8CE3

Accessibility & contrast

On white

7.70
#1C4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1C4FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4FA7
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4FA7#FFFFFF#000000##FFFFFF
##1C4FA71.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5AAA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#006573
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1c4fa7;
/* rgb */ color: rgb(28, 79, 167);
/* oklch */ color: oklch(44.8% 0.152 260.6);
Tailwind
colors: {
  custom: {
    50: '#717fc2',
    500: '#1c4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #1c4fa7;
$custom-light: #717fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4fa7",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 217.986,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44756,
    "c": 0.15205,
    "h": 260.6
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#1C4FA7
secondary
#C79E58
accent
#AC3AEE
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1C4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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