#1C2986#1C2986

#1C2986 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.154 H 269.5°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1C2986
RGBrgb(28, 41, 134)
HSLhsl(233, 65%, 32%)
HSVhsv(233, 79%, 53%)
CMYKcmyk(79.1%, 69.4%, 0%, 47.5%)
CIE-LABlab(22.14, 29.87, -53.26)
CIE-LCHlch(22.14, 61.06, 299.29°)
OKLaboklab(34.08% -0.0012 -0.1541)
OKLCHoklch(34.08% 0.154 269.5)
XYZxyz(5.5734, 3.5534, 22.9418)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2986 #86791C
analogous
#1C5E86 #1C2986 #441C86
triadic
#1C2986 #861C29 #29861C
tetradic
#1C2986 #861C5E #86791C #1C8644
square
#1C2986 #861C5E #86791C #1C8644
split-complementary
#1C2986 #86441C #5E861C
monochromatic
#070A21 #111A53 #1C2986 #2738B9 #4456D8

Accessibility & contrast

On white

12.27
#1C2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2986
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2986#FFFFFF#000000##FFFFFF
##1C29861.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2986;
/* rgb */ color: rgb(28, 41, 134);
/* oklch */ color: oklch(34.1% 0.154 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b63aa',
    500: '#1c2986',
    950: '#000000',
  },
}
SCSS
$custom: #1c2986;
$custom-light: #6b63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2986",
  "rgb": {
    "r": 28,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 232.642,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34079,
    "c": 0.15415,
    "h": 269.5
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#1C2986
secondary
#B9AB45
accent
#D43FE8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C2986

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

Preview Lab → · Contrast checker → · Palette generator →

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