#1C2487#1C2487

#1C2487 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.161 H 270.5°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#1C2487
RGBrgb(28, 36, 135)
HSLhsl(236, 66%, 32%)
HSVhsv(236, 79%, 53%)
CMYKcmyk(79.3%, 73.3%, 0%, 47.1%)
CIE-LABlab(21.05, 33.49, -55.68)
CIE-LCHlch(21.05, 64.98, 301.03°)
OKLaboklab(33.32% 0.0013 -0.1612)
OKLCHoklch(33.32% 0.161 270.5)
XYZxyz(5.4814, 3.2573, 23.2568)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2487 #877F1C
analogous
#1C5A87 #1C2487 #4A1C87
triadic
#1C2487 #871C24 #24871C
tetradic
#1C2487 #871C5A #877F1C #1C874A
square
#1C2487 #871C5A #877F1C #1C874A
split-complementary
#1C2487 #874A1C #5A871C
monochromatic
#070922 #111654 #1C2487 #2732BA #4550D8

Accessibility & contrast

On white

12.71
#1C2487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1C2487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2487
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2487#FFFFFF#000000##FFFFFF
##1C24871.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2487;
/* rgb */ color: rgb(28, 36, 135);
/* oklch */ color: oklch(33.3% 0.161 270.5);
Tailwind
colors: {
  custom: {
    50: '#6c5fab',
    500: '#1c2487',
    950: '#000000',
  },
}
SCSS
$custom: #1c2487;
$custom-light: #6c5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2487",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 235.514,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33322,
    "c": 0.16123,
    "h": 270.5
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#1C2487
secondary
#BAB145
accent
#DC3FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2487

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

Preview Lab → · Contrast checker → · Palette generator →

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