#1C2786#1C2786

#1C2786 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.157 H 269.9°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#1C2786
RGBrgb(28, 39, 134)
HSLhsl(234, 65%, 32%)
HSVhsv(234, 79%, 53%)
CMYKcmyk(79.1%, 70.9%, 0%, 47.5%)
CIE-LABlab(21.65, 31.19, -54.06)
CIE-LCHlch(21.65, 62.41, 299.98°)
OKLaboklab(33.73% -0.0001 -0.1565)
OKLCHoklch(33.73% 0.157 269.9)
XYZxyz(5.5060, 3.4185, 22.9193)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2786 #867B1C
analogous
#1C5C86 #1C2786 #461C86
triadic
#1C2786 #861C27 #27861C
tetradic
#1C2786 #861C5C #867B1C #1C8646
square
#1C2786 #861C5C #867B1C #1C8646
split-complementary
#1C2786 #86461C #5C861C
monochromatic
#070A21 #111853 #1C2786 #2736B9 #4454D8

Accessibility & contrast

On white

12.47
#1C2786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1C2786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2786
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2786#FFFFFF#000000##FFFFFF
##1C27861.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2786;
/* rgb */ color: rgb(28, 39, 134);
/* oklch */ color: oklch(33.7% 0.157 269.9);
Tailwind
colors: {
  custom: {
    50: '#6b61aa',
    500: '#1c2786',
    950: '#000000',
  },
}
SCSS
$custom: #1c2786;
$custom-light: #6b61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2786",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 233.774,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33725,
    "c": 0.15651,
    "h": 269.9
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#1C2786
secondary
#B9AD45
accent
#D73FE8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C2786

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

Preview Lab → · Contrast checker → · Palette generator →

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