#1C3187#1C3187

#1C3187 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.146 H 267.6°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#1C3187
RGBrgb(28, 49, 135)
HSLhsl(228, 66%, 32%)
HSVhsv(228, 79%, 53%)
CMYKcmyk(79.3%, 63.7%, 0%, 47.1%)
CIE-LABlab(24.30, 24.83, -50.34)
CIE-LCHlch(24.30, 56.13, 296.25°)
OKLaboklab(35.7% -0.0062 -0.1456)
OKLCHoklch(35.7% 0.146 267.6)
XYZxyz(5.9489, 4.1921, 23.4126)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3187 #87721C
analogous
#1C6787 #1C3187 #3C1C87
triadic
#1C3187 #871C31 #31871C
tetradic
#1C3187 #871C67 #87721C #1C873C
square
#1C3187 #871C67 #87721C #1C873C
split-complementary
#1C3187 #873C1C #67871C
monochromatic
#070C22 #111F54 #1C3187 #2743BA #4562D8

Accessibility & contrast

On white

11.42
#1C3187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1C3187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3187
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3187#FFFFFF#000000##FFFFFF
##1C31871.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c3187;
/* rgb */ color: rgb(28, 49, 135);
/* oklch */ color: oklch(35.7% 0.146 267.6);
Tailwind
colors: {
  custom: {
    50: '#6b68ab',
    500: '#1c3187',
    950: '#000000',
  },
}
SCSS
$custom: #1c3187;
$custom-light: #6b68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3187",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 228.224,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35695,
    "c": 0.14569,
    "h": 267.6
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

primary
#1C3187
secondary
#BAA345
accent
#C73FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1C3187

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

Preview Lab → · Contrast checker → · Palette generator →

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