#1C4187#1C4187

#1C4187 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.1% C 0.125 H 261.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#1C4187
RGBrgb(28, 65, 135)
HSLhsl(219, 66%, 32%)
HSVhsv(219, 79%, 53%)
CMYKcmyk(79.3%, 51.9%, 0%, 47.1%)
CIE-LABlab(28.84, 13.69, -42.96)
CIE-LCHlch(28.84, 45.09, 287.67°)
OKLaboklab(39.12% -0.0182 -0.1236)
OKLCHoklch(39.12% 0.125 261.6)
XYZxyz(6.7408, 5.7760, 23.6766)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4187 #87621C
analogous
#1C7787 #1C4187 #2C1C87
triadic
#1C4187 #871C41 #41871C
tetradic
#1C4187 #871C77 #87621C #1C872C
square
#1C4187 #871C77 #87621C #1C872C
split-complementary
#1C4187 #872C1C #77871C
monochromatic
#071022 #112954 #1C4187 #2759BA #4578D8

Accessibility & contrast

On white

9.74
#1C4187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1C4187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4187
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4187#FFFFFF#000000##FFFFFF
##1C41871.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16498A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c4187;
/* rgb */ color: rgb(28, 65, 135);
/* oklch */ color: oklch(39.1% 0.125 261.6);
Tailwind
colors: {
  custom: {
    50: '#6a75aa',
    500: '#1c4187',
    950: '#000000',
  },
}
SCSS
$custom: #1c4187;
$custom-light: #6a75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4187",
  "rgb": {
    "r": 28,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 219.252,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39115,
    "c": 0.12491,
    "h": 261.6
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#1C4187
secondary
#BA9145
accent
#AE3FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1C4187

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

Preview Lab → · Contrast checker → · Palette generator →

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