#1C2586#1C2586

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

Color values

HEX#1C2586
RGBrgb(28, 37, 134)
HSLhsl(235, 65%, 32%)
HSVhsv(235, 79%, 53%)
CMYKcmyk(79.1%, 72.4%, 0%, 47.5%)
CIE-LABlab(21.17, 32.49, -54.85)
CIE-LCHlch(21.17, 63.75, 300.64°)
OKLaboklab(33.38% 0.0009 -0.1588)
OKLCHoklch(33.38% 0.159 270.3)
XYZxyz(5.4421, 3.2906, 22.8980)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2586 #867D1C
analogous
#1C5A86 #1C2586 #481C86
triadic
#1C2586 #861C25 #25861C
tetradic
#1C2586 #861C5A #867D1C #1C8648
square
#1C2586 #861C5A #867D1C #1C8648
split-complementary
#1C2586 #86481C #5A861C
monochromatic
#070921 #111753 #1C2586 #2733B9 #4451D8

Accessibility & contrast

On white

12.66
#1C2586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2586
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2586#FFFFFF#000000##FFFFFF
##1C25861.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c2586;
/* rgb */ color: rgb(28, 37, 134);
/* oklch */ color: oklch(33.4% 0.159 270.3);
Tailwind
colors: {
  custom: {
    50: '#6c60aa',
    500: '#1c2586',
    950: '#000000',
  },
}
SCSS
$custom: #1c2586;
$custom-light: #6c60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2586",
  "rgb": {
    "r": 28,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 234.906,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33381,
    "c": 0.15879,
    "h": 270.3
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#1C2586
secondary
#B9AF45
accent
#DA3FE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C2586

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

Preview Lab → · Contrast checker → · Palette generator →

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