#1C3987#1C3987

#1C3987 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.135 H 265.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#1C3987
RGBrgb(28, 57, 135)
HSLhsl(224, 66%, 32%)
HSVhsv(224, 79%, 53%)
CMYKcmyk(79.3%, 57.8%, 0%, 47.1%)
CIE-LABlab(26.51, 19.26, -46.73)
CIE-LCHlch(26.51, 50.55, 292.40°)
OKLaboklab(37.35% -0.0118 -0.1348)
OKLCHoklch(37.35% 0.135 265)
XYZxyz(6.3136, 4.9217, 23.5342)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3987 #876A1C
analogous
#1C6F87 #1C3987 #341C87
triadic
#1C3987 #871C39 #39871C
tetradic
#1C3987 #871C6F #876A1C #1C8734
square
#1C3987 #871C6F #876A1C #1C8734
split-complementary
#1C3987 #87341C #6F871C
monochromatic
#070E22 #112454 #1C3987 #274EBA #456DD8

Accessibility & contrast

On white

10.58
#1C3987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1C3987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3987
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3987#FFFFFF#000000##FFFFFF
##1C39871.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1c3987;
/* rgb */ color: rgb(28, 57, 135);
/* oklch */ color: oklch(37.3% 0.135 265.0);
Tailwind
colors: {
  custom: {
    50: '#6a6eab',
    500: '#1c3987',
    950: '#000000',
  },
}
SCSS
$custom: #1c3987;
$custom-light: #6a6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3987",
  "rgb": {
    "r": 28,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 223.738,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37348,
    "c": 0.13536,
    "h": 265
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#1C3987
secondary
#BA9A45
accent
#BB3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1C3987

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

Preview Lab → · Contrast checker → · Palette generator →

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