#1C4DA8#1C4DA8

#1C4DA8 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.156 H 261.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#1C4DA8
RGBrgb(28, 77, 168)
HSLhsl(219, 71%, 38%)
HSVhsv(219, 83%, 66%)
CMYKcmyk(83.3%, 54.2%, 0%, 34.1%)
CIE-LABlab(34.76, 18.78, -53.43)
CIE-LCHlch(34.76, 56.64, 289.37°)
OKLaboklab(44.4% -0.0233 -0.1542)
OKLCHoklch(44.4% 0.156 261.4)
XYZxyz(10.1981, 8.3805, 38.1183)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4DA8 #A8771C
analogous
#1C93A8 #1C4DA8 #311CA8
triadic
#1C4DA8 #A81C4D #4DA81C
tetradic
#1C4DA8 #A81C93 #A8771C #1CA831
square
#1C4DA8 #A81C93 #A8771C #1CA831
split-complementary
#1C4DA8 #A8311C #93A81C
monochromatic
#0B1D3F #133574 #1C4DA8 #2666DB #5B8BE4

Accessibility & contrast

On white

7.85
#1C4DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C4DA8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4DA8#FFFFFF#000000##FFFFFF
##1C4DA81.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1c4da8;
/* rgb */ color: rgb(28, 77, 168);
/* oklch */ color: oklch(44.4% 0.156 261.4);
Tailwind
colors: {
  custom: {
    50: '#717ec3',
    500: '#1c4da8',
    950: '#000000',
  },
}
SCSS
$custom: #1c4da8;
$custom-light: #717ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4da8",
  "rgb": {
    "r": 28,
    "g": 77,
    "b": 168
  },
  "hsl": {
    "h": 219,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44404,
    "c": 0.15591,
    "h": 261.4
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#1C4DA8
secondary
#C7A158
accent
#AF3AEE
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1C4DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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