#1C3887#1C3887

#1C3887 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.137 H 265.3°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#1C3887
RGBrgb(28, 56, 135)
HSLhsl(224, 66%, 32%)
HSVhsv(224, 79%, 53%)
CMYKcmyk(79.3%, 58.5%, 0%, 47.1%)
CIE-LABlab(26.23, 19.96, -47.19)
CIE-LCHlch(26.23, 51.24, 292.93°)
OKLaboklab(37.14% -0.0111 -0.1362)
OKLCHoklch(37.14% 0.137 265.3)
XYZxyz(6.2647, 4.8238, 23.5179)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3887 #876B1C
analogous
#1C6E87 #1C3887 #361C87
triadic
#1C3887 #871C38 #38871C
tetradic
#1C3887 #871C6E #876B1C #1C8736
square
#1C3887 #871C6E #876B1C #1C8736
split-complementary
#1C3887 #87361C #6E871C
monochromatic
#070E22 #112354 #1C3887 #274DBA #456CD8

Accessibility & contrast

On white

10.69
#1C3887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1C3887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3887
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3887#FFFFFF#000000##FFFFFF
##1C38871.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1c3887;
/* rgb */ color: rgb(28, 56, 135);
/* oklch */ color: oklch(37.1% 0.137 265.3);
Tailwind
colors: {
  custom: {
    50: '#6a6eab',
    500: '#1c3887',
    950: '#000000',
  },
}
SCSS
$custom: #1c3887;
$custom-light: #6a6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3887",
  "rgb": {
    "r": 28,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 224.299,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37135,
    "c": 0.13666,
    "h": 265.3
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#1C3887
secondary
#BA9B45
accent
#BC3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1C3887

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

Preview Lab → · Contrast checker → · Palette generator →

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