#1C4DA7#1C4DA7

#1C4DA7 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.155 H 261.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#1C4DA7
RGBrgb(28, 77, 167)
HSLhsl(219, 71%, 38%)
HSVhsv(219, 83%, 65%)
CMYKcmyk(83.2%, 53.9%, 0%, 34.5%)
CIE-LABlab(34.69, 18.39, -52.96)
CIE-LCHlch(34.69, 56.06, 289.14°)
OKLaboklab(44.32% -0.0234 -0.1528)
OKLCHoklch(44.32% 0.155 261.3)
XYZxyz(10.1053, 8.3434, 37.6296)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4DA7 #A7761C
analogous
#1C92A7 #1C4DA7 #301CA7
triadic
#1C4DA7 #A71C4D #4DA71C
tetradic
#1C4DA7 #A71C92 #A7761C #1CA730
square
#1C4DA7 #A71C92 #A7761C #1CA730
split-complementary
#1C4DA7 #A7301C #92A71C
monochromatic
#0A1D3E #133573 #1C4DA7 #2665DB #5A8AE3

Accessibility & contrast

On white

7.87
#1C4DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1C4DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4DA7
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4DA7#FFFFFF#000000##FFFFFF
##1C4DA71.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c4da7;
/* rgb */ color: rgb(28, 77, 167);
/* oklch */ color: oklch(44.3% 0.155 261.3);
Tailwind
colors: {
  custom: {
    50: '#717ec2',
    500: '#1c4da7',
    950: '#000000',
  },
}
SCSS
$custom: #1c4da7;
$custom-light: #717ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4da7",
  "rgb": {
    "r": 28,
    "g": 77,
    "b": 167
  },
  "hsl": {
    "h": 218.849,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44323,
    "c": 0.15455,
    "h": 261.3
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#1C4DA7
secondary
#C7A058
accent
#AE3AEE
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1C4DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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