#1C4AA7#1C4AA7

#1C4AA7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.158 H 262.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#1C4AA7
RGBrgb(28, 74, 167)
HSLhsl(220, 71%, 38%)
HSVhsv(220, 83%, 65%)
CMYKcmyk(83.2%, 55.7%, 0%, 34.5%)
CIE-LABlab(33.84, 20.41, -54.33)
CIE-LCHlch(33.84, 58.04, 290.59°)
OKLaboklab(43.68% -0.0214 -0.1569)
OKLCHoklch(43.68% 0.158 262.2)
XYZxyz(9.9002, 7.9332, 37.5612)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4AA7 #A7791C
analogous
#1C8FA7 #1C4AA7 #331CA7
triadic
#1C4AA7 #A71C4A #4AA71C
tetradic
#1C4AA7 #A71C8F #A7791C #1CA733
square
#1C4AA7 #A71C8F #A7791C #1CA733
split-complementary
#1C4AA7 #A7331C #8FA71C
monochromatic
#0A1C3E #133373 #1C4AA7 #2662DB #5A87E3

Accessibility & contrast

On white

8.12
#1C4AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1C4AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4AA7
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4AA7#FFFFFF#000000##FFFFFF
##1C4AA71.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1c4aa7;
/* rgb */ color: rgb(28, 74, 167);
/* oklch */ color: oklch(43.7% 0.158 262.2);
Tailwind
colors: {
  custom: {
    50: '#717bc2',
    500: '#1c4aa7',
    950: '#000000',
  },
}
SCSS
$custom: #1c4aa7;
$custom-light: #717bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4aa7",
  "rgb": {
    "r": 28,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 220.144,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43682,
    "c": 0.15831,
    "h": 262.2
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#1C4AA7
secondary
#C7A258
accent
#B23AEE
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1C4AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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