#1C3387#1C3387

#1C3387 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.143 H 267.0°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#1C3387
RGBrgb(28, 51, 135)
HSLhsl(227, 66%, 32%)
HSVhsv(227, 79%, 53%)
CMYKcmyk(79.3%, 62.2%, 0%, 47.1%)
CIE-LABlab(24.84, 23.44, -49.46)
CIE-LCHlch(24.84, 54.73, 295.36°)
OKLaboklab(36.1% -0.0075 -0.1429)
OKLCHoklch(36.1% 0.143 267)
XYZxyz(6.0344, 4.3631, 23.4411)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3387 #87701C
analogous
#1C6987 #1C3387 #3B1C87
triadic
#1C3387 #871C33 #33871C
tetradic
#1C3387 #871C69 #87701C #1C873B
square
#1C3387 #871C69 #87701C #1C873B
split-complementary
#1C3387 #873B1C #69871C
monochromatic
#070D22 #112054 #1C3387 #2746BA #4565D8

Accessibility & contrast

On white

11.21
#1C3387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1C3387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3387
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3387#FFFFFF#000000##FFFFFF
##1C33871.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1c3387;
/* rgb */ color: rgb(28, 51, 135);
/* oklch */ color: oklch(36.1% 0.143 267.0);
Tailwind
colors: {
  custom: {
    50: '#6b6aab',
    500: '#1c3387',
    950: '#000000',
  },
}
SCSS
$custom: #1c3387;
$custom-light: #6b6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3387",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 227.103,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36096,
    "c": 0.14314,
    "h": 267
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#1C3387
secondary
#BAA145
accent
#C43FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1C3387

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

Preview Lab → · Contrast checker → · Palette generator →

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