#1C2886#1C2886

#1C2886 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.155 H 269.7°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#1C2886
RGBrgb(28, 40, 134)
HSLhsl(233, 65%, 32%)
HSVhsv(233, 79%, 53%)
CMYKcmyk(79.1%, 70.1%, 0%, 47.5%)
CIE-LABlab(21.89, 30.53, -53.66)
CIE-LCHlch(21.89, 61.74, 299.64°)
OKLaboklab(33.9% -0.0007 -0.1553)
OKLCHoklch(33.9% 0.155 269.7)
XYZxyz(5.5393, 3.4851, 22.9304)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2886 #867A1C
analogous
#1C5D86 #1C2886 #451C86
triadic
#1C2886 #861C28 #28861C
tetradic
#1C2886 #861C5D #867A1C #1C8645
square
#1C2886 #861C5D #867A1C #1C8645
split-complementary
#1C2886 #86451C #5D861C
monochromatic
#070A21 #111953 #1C2886 #2737B9 #4455D8

Accessibility & contrast

On white

12.37
#1C2886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1C2886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2886
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2886#FFFFFF#000000##FFFFFF
##1C28861.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2886;
/* rgb */ color: rgb(28, 40, 134);
/* oklch */ color: oklch(33.9% 0.155 269.7);
Tailwind
colors: {
  custom: {
    50: '#6b62aa',
    500: '#1c2886',
    950: '#000000',
  },
}
SCSS
$custom: #1c2886;
$custom-light: #6b62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2886",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 233.208,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33901,
    "c": 0.15534,
    "h": 269.7
  },
  "luminance": 0.03486
}

Semantic roles & 50–950 ramp

primary
#1C2886
secondary
#B9AC45
accent
#D53FE8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C2886

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

Preview Lab → · Contrast checker → · Palette generator →

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