#1C2987#1C2987

#1C2987 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.156 H 269.5°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#1C2987
RGBrgb(28, 41, 135)
HSLhsl(233, 66%, 32%)
HSVhsv(233, 79%, 53%)
CMYKcmyk(79.3%, 69.6%, 0%, 47.1%)
CIE-LABlab(22.24, 30.25, -53.72)
CIE-LCHlch(22.24, 61.65, 299.38°)
OKLaboklab(34.18% -0.0013 -0.1555)
OKLCHoklch(34.18% 0.156 269.5)
XYZxyz(5.6435, 3.5814, 23.3108)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2987 #877A1C
analogous
#1C5F87 #1C2987 #441C87
triadic
#1C2987 #871C29 #29871C
tetradic
#1C2987 #871C5F #877A1C #1C8744
square
#1C2987 #871C5F #877A1C #1C8744
split-complementary
#1C2987 #87441C #5F871C
monochromatic
#070A22 #111A54 #1C2987 #2738BA #4557D8

Accessibility & contrast

On white

12.23
#1C2987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1C2987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2987
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2987#FFFFFF#000000##FFFFFF
##1C29871.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003085
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2987;
/* rgb */ color: rgb(28, 41, 135);
/* oklch */ color: oklch(34.2% 0.156 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b63ab',
    500: '#1c2987',
    950: '#000000',
  },
}
SCSS
$custom: #1c2987;
$custom-light: #6b63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2987",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 232.71,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34182,
    "c": 0.15551,
    "h": 269.5
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#1C2987
secondary
#BAAC45
accent
#D43FE9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C2987

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

Preview Lab → · Contrast checker → · Palette generator →

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