#1C2186#1C2186

#1C2186 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.163 H 271.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1C2186
RGBrgb(28, 33, 134)
HSLhsl(237, 65%, 32%)
HSVhsv(237, 79%, 53%)
CMYKcmyk(79.1%, 75.4%, 0%, 47.5%)
CIE-LABlab(20.26, 35.01, -56.34)
CIE-LCHlch(20.26, 66.33, 301.85°)
OKLaboklab(32.73% 0.0028 -0.1631)
OKLCHoklch(32.73% 0.163 271)
XYZxyz(5.3244, 3.0552, 22.8587)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2186 #86811C
analogous
#1C5686 #1C2186 #4C1C86
triadic
#1C2186 #861C21 #21861C
tetradic
#1C2186 #861C56 #86811C #1C864C
square
#1C2186 #861C56 #86811C #1C864C
split-complementary
#1C2186 #864C1C #56861C
monochromatic
#070821 #111553 #1C2186 #272DB9 #444BD8

Accessibility & contrast

On white

13.03
#1C2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1C2186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2186
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2186#FFFFFF#000000##FFFFFF
##1C21861.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2186;
/* rgb */ color: rgb(28, 33, 134);
/* oklch */ color: oklch(32.7% 0.163 271.0);
Tailwind
colors: {
  custom: {
    50: '#6c5daa',
    500: '#1c2186',
    950: '#000000',
  },
}
SCSS
$custom: #1c2186;
$custom-light: #6c5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2186",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 237.17,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3273,
    "c": 0.16316,
    "h": 271
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#1C2186
secondary
#B9B445
accent
#E03FE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1C2186

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

Preview Lab → · Contrast checker → · Palette generator →

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