#1C4EA4#1C4EA4

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

Color values

HEX#1C4EA4
RGBrgb(28, 78, 164)
HSLhsl(218, 71%, 38%)
HSVhsv(218, 83%, 64%)
CMYKcmyk(82.9%, 52.4%, 0%, 35.7%)
CIE-LABlab(34.75, 16.51, -51.06)
CIE-LCHlch(34.75, 53.66, 287.92°)
OKLaboklab(44.3% -0.0245 -0.1472)
OKLCHoklch(44.3% 0.149 260.6)
XYZxyz(9.9017, 8.3748, 36.2094)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4EA4 #A4721C
analogous
#1C92A4 #1C4EA4 #2E1CA4
triadic
#1C4EA4 #A41C4E #4EA41C
tetradic
#1C4EA4 #A41C92 #A4721C #1CA42E
square
#1C4EA4 #A41C92 #A4721C #1CA42E
split-complementary
#1C4EA4 #A42E1C #92A41C
monochromatic
#0A1C3B #133570 #1C4EA4 #2567D8 #588BE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C4EA4#FFFFFF#000000##FFFFFF
##1C4EA41.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)
#1258A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1c4ea4;
/* rgb */ color: rgb(28, 78, 164);
/* oklch */ color: oklch(44.3% 0.149 260.6);
Tailwind
colors: {
  custom: {
    50: '#707ec0',
    500: '#1c4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #1c4ea4;
$custom-light: #707ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4ea4",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 217.941,
    "s": 70.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44301,
    "c": 0.14918,
    "h": 260.6
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#1C4EA4
secondary
#C69D56
accent
#AC3AEE
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1C4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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