#1C4EA1#1C4EA1

#1C4EA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.145 H 260.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#1C4EA1
RGBrgb(28, 78, 161)
HSLhsl(217, 70%, 37%)
HSVhsv(217, 83%, 63%)
CMYKcmyk(82.6%, 51.6%, 0%, 36.9%)
CIE-LABlab(34.53, 15.31, -49.61)
CIE-LCHlch(34.53, 51.92, 287.15°)
OKLaboklab(44.07% -0.0249 -0.1429)
OKLCHoklch(44.07% 0.145 260.1)
XYZxyz(9.6340, 8.2677, 34.7994)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4EA1 #A16F1C
analogous
#1C90A1 #1C4EA1 #2D1CA1
triadic
#1C4EA1 #A11C4E #4EA11C
tetradic
#1C4EA1 #A11C90 #A16F1C #1CA12D
square
#1C4EA1 #A11C90 #A16F1C #1CA12D
split-complementary
#1C4EA1 #A12D1C #90A11C
monochromatic
#0A1B39 #13356D #1C4EA1 #2567D5 #568AE2

Accessibility & contrast

On white

7.91
#1C4EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1C4EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4EA1
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4EA1#FFFFFF#000000##FFFFFF
##1C4EA11.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1c4ea1;
/* rgb */ color: rgb(28, 78, 161);
/* oklch */ color: oklch(44.1% 0.145 260.1);
Tailwind
colors: {
  custom: {
    50: '#6f7ebd',
    500: '#1c4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1c4ea1;
$custom-light: #6f7ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4ea1",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 217.444,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44066,
    "c": 0.14505,
    "h": 260.1
  },
  "luminance": 0.08269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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