#1C3872#1C3872

#1C3872 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.106 H 262.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#1C3872
RGBrgb(28, 56, 114)
HSLhsl(220, 61%, 28%)
HSVhsv(220, 75%, 45%)
CMYKcmyk(75.4%, 50.9%, 0%, 55.3%)
CIE-LABlab(24.61, 11.43, -36.58)
CIE-LCHlch(24.61, 38.33, 287.35°)
OKLaboklab(35.39% -0.0132 -0.105)
OKLCHoklch(35.39% 0.106 262.8)
XYZxyz(4.9292, 4.2896, 16.4845)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3872 #72561C
analogous
#1C6372 #1C3872 #2B1C72
triadic
#1C3872 #721C38 #38721C
tetradic
#1C3872 #721C63 #72561C #1C722B
square
#1C3872 #721C63 #72561C #1C722B
split-complementary
#1C3872 #722B1C #63721C
monochromatic
#060C19 #102041 #1C3872 #2850A3 #3A6ACF

Accessibility & contrast

On white

11.30
#1C3872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1C3872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3872
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3872#FFFFFF#000000##FFFFFF
##1C38721.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F74
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c3872;
/* rgb */ color: rgb(28, 56, 114);
/* oklch */ color: oklch(35.4% 0.106 262.8);
Tailwind
colors: {
  custom: {
    50: '#656e9b',
    500: '#1c3872',
    950: '#000000',
  },
}
SCSS
$custom: #1c3872;
$custom-light: #656e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3872",
  "rgb": {
    "r": 28,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 220.465,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35393,
    "c": 0.10583,
    "h": 262.8
  },
  "luminance": 0.0429
}

Semantic roles & 50–950 ramp

primary
#1C3872
secondary
#A68643
accent
#B044E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1C3872

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

Preview Lab → · Contrast checker → · Palette generator →

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