#1C4EA6#1C4EA6

#1C4EA6 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.152 H 260.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#1C4EA6
RGBrgb(28, 78, 166)
HSLhsl(218, 71%, 38%)
HSVhsv(218, 83%, 65%)
CMYKcmyk(83.1%, 53%, 0%, 34.9%)
CIE-LABlab(34.90, 17.31, -52.02)
CIE-LCHlch(34.90, 54.83, 288.41°)
OKLaboklab(44.46% -0.0242 -0.15)
OKLCHoklch(44.46% 0.152 260.8)
XYZxyz(10.0837, 8.4476, 37.1681)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4EA6 #A6741C
analogous
#1C93A6 #1C4EA6 #2F1CA6
triadic
#1C4EA6 #A61C4E #4EA61C
tetradic
#1C4EA6 #A61C93 #A6741C #1CA62F
square
#1C4EA6 #A61C93 #A6741C #1CA62F
split-complementary
#1C4EA6 #A62F1C #93A61C
monochromatic
#0A1D3D #133572 #1C4EA6 #2567DA #598BE3

Accessibility & contrast

On white

7.81
#1C4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1C4EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4EA6
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4EA6#FFFFFF#000000##FFFFFF
##1C4EA61.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C59A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1c4ea6;
/* rgb */ color: rgb(28, 78, 166);
/* oklch */ color: oklch(44.5% 0.152 260.8);
Tailwind
colors: {
  custom: {
    50: '#717ec1',
    500: '#1c4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #1c4ea6;
$custom-light: #717ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4ea6",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 218.261,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44459,
    "c": 0.15194,
    "h": 260.8
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#1C4EA6
secondary
#C79E57
accent
#AD3AEE
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1C4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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