#1C3F87#1C3F87

#1C3F87 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.128 H 262.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#1C3F87
RGBrgb(28, 63, 135)
HSLhsl(220, 66%, 32%)
HSVhsv(220, 79%, 53%)
CMYKcmyk(79.3%, 53.3%, 0%, 47.1%)
CIE-LABlab(28.25, 15.08, -43.91)
CIE-LCHlch(28.25, 46.43, 288.95°)
OKLaboklab(38.66% -0.0165 -0.1264)
OKLCHoklch(38.66% 0.128 262.5)
XYZxyz(6.6280, 5.5504, 23.6390)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F87 #87641C
analogous
#1C7587 #1C3F87 #2F1C87
triadic
#1C3F87 #871C3F #3F871C
tetradic
#1C3F87 #871C75 #87641C #1C872F
square
#1C3F87 #871C75 #87641C #1C872F
split-complementary
#1C3F87 #872F1C #75871C
monochromatic
#071022 #112754 #1C3F87 #2757BA #4575D8

Accessibility & contrast

On white

9.95
#1C3F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1C3F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F87
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F87#FFFFFF#000000##FFFFFF
##1C3F871.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E488A
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1c3f87;
/* rgb */ color: rgb(28, 63, 135);
/* oklch */ color: oklch(38.7% 0.128 262.5);
Tailwind
colors: {
  custom: {
    50: '#6a73aa',
    500: '#1c3f87',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f87;
$custom-light: #6a73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f87",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 220.374,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38664,
    "c": 0.12752,
    "h": 262.5
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#1C3F87
secondary
#BA9445
accent
#B13FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1C3F87

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

Preview Lab → · Contrast checker → · Palette generator →

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