#1C4FA1#1C4FA1

#1C4FA1 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.144 H 259.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#1C4FA1
RGBrgb(28, 79, 161)
HSLhsl(217, 70%, 37%)
HSVhsv(217, 83%, 63%)
CMYKcmyk(82.6%, 50.9%, 0%, 36.9%)
CIE-LABlab(34.82, 14.63, -49.14)
CIE-LCHlch(34.82, 51.28, 286.58°)
OKLaboklab(44.29% -0.0256 -0.1415)
OKLCHoklch(44.29% 0.144 259.7)
XYZxyz(9.7055, 8.4109, 34.8232)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4FA1 #A16E1C
analogous
#1C92A1 #1C4FA1 #2B1CA1
triadic
#1C4FA1 #A11C4F #4FA11C
tetradic
#1C4FA1 #A11C92 #A16E1C #1CA12B
square
#1C4FA1 #A11C92 #A16E1C #1CA12B
split-complementary
#1C4FA1 #A12B1C #92A11C
monochromatic
#0A1C39 #13356D #1C4FA1 #2569D5 #568BE2

Accessibility & contrast

On white

7.83
#1C4FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1C4FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4FA1
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4FA1#FFFFFF#000000##FFFFFF
##1C4FA11.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1c4fa1;
/* rgb */ color: rgb(28, 79, 161);
/* oklch */ color: oklch(44.3% 0.144 259.7);
Tailwind
colors: {
  custom: {
    50: '#6f7fbd',
    500: '#1c4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #1c4fa1;
$custom-light: #6f7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4fa1",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 216.992,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44288,
    "c": 0.1438,
    "h": 259.7
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#1C4FA1
secondary
#C59A54
accent
#A93BED
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1C4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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