#1C3C87#1C3C87

#1C3C87 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.131 H 263.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#1C3C87
RGBrgb(28, 60, 135)
HSLhsl(222, 66%, 32%)
HSVhsv(222, 79%, 53%)
CMYKcmyk(79.3%, 55.6%, 0%, 47.1%)
CIE-LABlab(27.37, 17.17, -45.33)
CIE-LCHlch(27.37, 48.47, 290.74°)
OKLaboklab(38% -0.0141 -0.1307)
OKLCHoklch(38% 0.131 263.8)
XYZxyz(6.4664, 5.2271, 23.5851)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3C87 #87671C
analogous
#1C7287 #1C3C87 #321C87
triadic
#1C3C87 #871C3C #3C871C
tetradic
#1C3C87 #871C72 #87671C #1C8732
square
#1C3C87 #871C72 #87671C #1C8732
split-complementary
#1C3C87 #87321C #72871C
monochromatic
#070F22 #112554 #1C3C87 #2753BA #4571D8

Accessibility & contrast

On white

10.27
#1C3C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1C3C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3C87
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3C87#FFFFFF#000000##FFFFFF
##1C3C871.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1c3c87;
/* rgb */ color: rgb(28, 60, 135);
/* oklch */ color: oklch(38.0% 0.131 263.8);
Tailwind
colors: {
  custom: {
    50: '#6a71ab',
    500: '#1c3c87',
    950: '#000000',
  },
}
SCSS
$custom: #1c3c87;
$custom-light: #6a71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3c87",
  "rgb": {
    "r": 28,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 222.056,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37999,
    "c": 0.13143,
    "h": 263.8
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#1C3C87
secondary
#BA9745
accent
#B63FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1C3C87

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

Preview Lab → · Contrast checker → · Palette generator →

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