#1C3D87#1C3D87

#1C3D87 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.130 H 263.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#1C3D87
RGBrgb(28, 61, 135)
HSLhsl(221, 66%, 32%)
HSVhsv(221, 79%, 53%)
CMYKcmyk(79.3%, 54.8%, 0%, 47.1%)
CIE-LABlab(27.66, 16.47, -44.86)
CIE-LCHlch(27.66, 47.79, 290.16°)
OKLaboklab(38.22% -0.0149 -0.1293)
OKLCHoklch(38.22% 0.13 263.4)
XYZxyz(6.5192, 5.3329, 23.6027)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3D87 #87661C
analogous
#1C7387 #1C3D87 #301C87
triadic
#1C3D87 #871C3D #3D871C
tetradic
#1C3D87 #871C73 #87661C #1C8730
square
#1C3D87 #871C73 #87661C #1C8730
split-complementary
#1C3D87 #87301C #73871C
monochromatic
#070F22 #112654 #1C3D87 #2754BA #4572D8

Accessibility & contrast

On white

10.16
#1C3D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1C3D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3D87
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3D87#FFFFFF#000000##FFFFFF
##1C3D871.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04468A
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1c3d87;
/* rgb */ color: rgb(28, 61, 135);
/* oklch */ color: oklch(38.2% 0.130 263.4);
Tailwind
colors: {
  custom: {
    50: '#6a71ab',
    500: '#1c3d87',
    950: '#000000',
  },
}
SCSS
$custom: #1c3d87;
$custom-light: #6a71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3d87",
  "rgb": {
    "r": 28,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 221.495,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38219,
    "c": 0.13013,
    "h": 263.4
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#1C3D87
secondary
#BA9645
accent
#B43FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1C3D87

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

Preview Lab → · Contrast checker → · Palette generator →

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