#1C2587#1C2587

#1C2587 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.160 H 270.3°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#1C2587
RGBrgb(28, 37, 135)
HSLhsl(235, 66%, 32%)
HSVhsv(235, 79%, 53%)
CMYKcmyk(79.3%, 72.6%, 0%, 47.1%)
CIE-LABlab(21.28, 32.86, -55.30)
CIE-LCHlch(21.28, 64.32, 300.72°)
OKLaboklab(33.49% 0.0008 -0.1601)
OKLCHoklch(33.49% 0.16 270.3)
XYZxyz(5.5121, 3.3187, 23.2670)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2587 #877E1C
analogous
#1C5B87 #1C2587 #491C87
triadic
#1C2587 #871C25 #25871C
tetradic
#1C2587 #871C5B #877E1C #1C8749
square
#1C2587 #871C5B #877E1C #1C8749
split-complementary
#1C2587 #87491C #5B871C
monochromatic
#070922 #111754 #1C2587 #2733BA #4551D8

Accessibility & contrast

On white

12.62
#1C2587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1C2587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2587
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2587#FFFFFF#000000##FFFFFF
##1C25871.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#002E85
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c2587;
/* rgb */ color: rgb(28, 37, 135);
/* oklch */ color: oklch(33.5% 0.160 270.3);
Tailwind
colors: {
  custom: {
    50: '#6c60ab',
    500: '#1c2587',
    950: '#000000',
  },
}
SCSS
$custom: #1c2587;
$custom-light: #6c60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2587",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 234.953,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33489,
    "c": 0.16011,
    "h": 270.3
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#1C2587
secondary
#BAB045
accent
#DA3FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C2587

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

Preview Lab → · Contrast checker → · Palette generator →

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