#1C3871#1C3871

#1C3871 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.104 H 262.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#1C3871
RGBrgb(28, 56, 113)
HSLhsl(220, 60%, 28%)
HSVhsv(220, 75%, 44%)
CMYKcmyk(75.2%, 50.4%, 0%, 55.7%)
CIE-LABlab(24.54, 11.02, -36.06)
CIE-LCHlch(24.54, 37.71, 287.00°)
OKLaboklab(35.32% -0.0134 -0.1035)
OKLCHoklch(35.32% 0.104 262.6)
XYZxyz(4.8726, 4.2670, 16.1864)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3871 #71551C
analogous
#1C6371 #1C3871 #2A1C71
triadic
#1C3871 #711C38 #38711C
tetradic
#1C3871 #711C63 #71551C #1C712A
square
#1C3871 #711C63 #71551C #1C712A
split-complementary
#1C3871 #712A1C #63711C
monochromatic
#060C19 #102040 #1C3871 #2850A2 #396ACE

Accessibility & contrast

On white

11.33
#1C3871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1C3871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3871
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3871#FFFFFF#000000##FFFFFF
##1C38711.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E73
Deuteranopia (green-blind)
#023770
Tritanopia (blue-blind)
#00454F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c3871;
/* rgb */ color: rgb(28, 56, 113);
/* oklch */ color: oklch(35.3% 0.104 262.6);
Tailwind
colors: {
  custom: {
    50: '#656e9a',
    500: '#1c3871',
    950: '#000000',
  },
}
SCSS
$custom: #1c3871;
$custom-light: #656e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3871",
  "rgb": {
    "r": 28,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 220.235,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35315,
    "c": 0.10432,
    "h": 262.6
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#1C3871
secondary
#A68543
accent
#AF44E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1C3871

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

Preview Lab → · Contrast checker → · Palette generator →

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