#1C3186#1C3186

#1C3186 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.144 H 267.5°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#1C3186
RGBrgb(28, 49, 134)
HSLhsl(228, 65%, 32%)
HSVhsv(228, 79%, 53%)
CMYKcmyk(79.1%, 63.4%, 0%, 47.5%)
CIE-LABlab(24.21, 24.43, -49.86)
CIE-LCHlch(24.21, 55.53, 296.10°)
OKLaboklab(35.6% -0.0062 -0.1442)
OKLCHoklch(35.6% 0.144 267.5)
XYZxyz(5.8788, 4.1641, 23.0435)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3186 #86711C
analogous
#1C6686 #1C3186 #3C1C86
triadic
#1C3186 #861C31 #31861C
tetradic
#1C3186 #861C66 #86711C #1C863C
square
#1C3186 #861C66 #86711C #1C863C
split-complementary
#1C3186 #863C1C #66861C
monochromatic
#070C21 #111E53 #1C3186 #2744B9 #4462D8

Accessibility & contrast

On white

11.46
#1C3186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1C3186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3186
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3186#FFFFFF#000000##FFFFFF
##1C31861.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c3186;
/* rgb */ color: rgb(28, 49, 134);
/* oklch */ color: oklch(35.6% 0.144 267.5);
Tailwind
colors: {
  custom: {
    50: '#6a68aa',
    500: '#1c3186',
    950: '#000000',
  },
}
SCSS
$custom: #1c3186;
$custom-light: #6a68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3186",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 228.113,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.356,
    "c": 0.14429,
    "h": 267.5
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#1C3186
secondary
#B9A245
accent
#C73FE8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1C3186

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

Preview Lab → · Contrast checker → · Palette generator →

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