#1C2386#1C2386

#1C2386 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.161 H 270.7°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1C2386
RGBrgb(28, 35, 134)
HSLhsl(236, 65%, 32%)
HSVhsv(236, 79%, 53%)
CMYKcmyk(79.1%, 73.9%, 0%, 47.5%)
CIE-LABlab(20.71, 33.76, -55.61)
CIE-LCHlch(20.71, 65.05, 301.26°)
OKLaboklab(33.05% 0.0019 -0.161)
OKLCHoklch(33.05% 0.161 270.7)
XYZxyz(5.3815, 3.1696, 22.8778)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2386 #867F1C
analogous
#1C5886 #1C2386 #4A1C86
triadic
#1C2386 #861C23 #23861C
tetradic
#1C2386 #861C58 #867F1C #1C864A
square
#1C2386 #861C58 #867F1C #1C864A
split-complementary
#1C2386 #864A1C #58861C
monochromatic
#070921 #111653 #1C2386 #2730B9 #444ED8

Accessibility & contrast

On white

12.85
#1C2386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1C2386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2386
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2386#FFFFFF#000000##FFFFFF
##1C23861.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c2386;
/* rgb */ color: rgb(28, 35, 134);
/* oklch */ color: oklch(33.1% 0.161 270.7);
Tailwind
colors: {
  custom: {
    50: '#6c5faa',
    500: '#1c2386',
    950: '#000000',
  },
}
SCSS
$custom: #1c2386;
$custom-light: #6c5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2386",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 236.038,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3305,
    "c": 0.16101,
    "h": 270.7
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#1C2386
secondary
#B9B145
accent
#DD3FE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2386

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

Preview Lab → · Contrast checker → · Palette generator →

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