#1C3E87#1C3E87

#1C3E87 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.129 H 263.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#1C3E87
RGBrgb(28, 62, 135)
HSLhsl(221, 66%, 32%)
HSVhsv(221, 79%, 53%)
CMYKcmyk(79.3%, 54.1%, 0%, 47.1%)
CIE-LABlab(27.95, 15.77, -44.39)
CIE-LCHlch(27.95, 47.11, 289.56°)
OKLaboklab(38.44% -0.0157 -0.1279)
OKLCHoklch(38.44% 0.129 263)
XYZxyz(6.5731, 5.4406, 23.6207)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3E87 #87651C
analogous
#1C7387 #1C3E87 #301C87
triadic
#1C3E87 #871C3E #3E871C
tetradic
#1C3E87 #871C73 #87651C #1C8730
square
#1C3E87 #871C73 #87651C #1C8730
split-complementary
#1C3E87 #87301C #73871C
monochromatic
#070F22 #112754 #1C3E87 #2755BA #4574D8

Accessibility & contrast

On white

10.06
#1C3E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1C3E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3E87
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3E87#FFFFFF#000000##FFFFFF
##1C3E871.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09478A
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c3e87;
/* rgb */ color: rgb(28, 62, 135);
/* oklch */ color: oklch(38.4% 0.129 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a72ab',
    500: '#1c3e87',
    950: '#000000',
  },
}
SCSS
$custom: #1c3e87;
$custom-light: #6a72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3e87",
  "rgb": {
    "r": 28,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 220.935,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38441,
    "c": 0.12883,
    "h": 263
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#1C3E87
secondary
#BA9545
accent
#B33FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1C3E87

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

Preview Lab → · Contrast checker → · Palette generator →

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