#1C4387#1C4387

#1C4387 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.122 H 260.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#1C4387
RGBrgb(28, 67, 135)
HSLhsl(218, 66%, 32%)
HSVhsv(218, 79%, 53%)
CMYKcmyk(79.3%, 50.4%, 0%, 47.1%)
CIE-LABlab(29.44, 12.30, -41.99)
CIE-LCHlch(29.44, 43.76, 286.33°)
OKLaboklab(39.57% -0.0199 -0.1207)
OKLCHoklch(39.57% 0.122 260.6)
XYZxyz(6.8576, 6.0097, 23.7155)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4387 #87601C
analogous
#1C7987 #1C4387 #2B1C87
triadic
#1C4387 #871C43 #43871C
tetradic
#1C4387 #871C79 #87601C #1C872B
square
#1C4387 #871C79 #87601C #1C872B
split-complementary
#1C4387 #872B1C #79871C
monochromatic
#071122 #112A54 #1C4387 #275CBA #457BD8

Accessibility & contrast

On white

9.54
#1C4387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1C4387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4387
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4387#FFFFFF#000000##FFFFFF
##1C43871.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B89
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1c4387;
/* rgb */ color: rgb(28, 67, 135);
/* oklch */ color: oklch(39.6% 0.122 260.6);
Tailwind
colors: {
  custom: {
    50: '#6976aa',
    500: '#1c4387',
    950: '#000000',
  },
}
SCSS
$custom: #1c4387;
$custom-light: #6976aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4387",
  "rgb": {
    "r": 28,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 218.131,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39572,
    "c": 0.12234,
    "h": 260.6
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#1C4387
secondary
#BA8F45
accent
#AB3FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1C4387

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

Preview Lab → · Contrast checker → · Palette generator →

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