#1C2872#1C2872

#1C2872 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.127 H 270.3°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#1C2872
RGBrgb(28, 40, 114)
HSLhsl(232, 61%, 28%)
HSVhsv(232, 75%, 45%)
CMYKcmyk(75.4%, 64.9%, 0%, 55.3%)
CIE-LABlab(19.96, 22.80, -44.12)
CIE-LCHlch(19.96, 49.67, 297.33°)
OKLaboklab(31.9% 0.0006 -0.1274)
OKLCHoklch(31.9% 0.127 270.3)
XYZxyz(4.2739, 2.9789, 16.2661)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2872 #72661C
analogous
#1C5372 #1C2872 #3B1C72
triadic
#1C2872 #721C28 #28721C
tetradic
#1C2872 #721C53 #72661C #1C723B
square
#1C2872 #721C53 #72661C #1C723B
split-complementary
#1C2872 #723B1C #53721C
monochromatic
#060919 #101741 #1C2872 #2839A3 #3A4FCF

Accessibility & contrast

On white

13.16
#1C2872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1C2872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2872
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2872#FFFFFF#000000##FFFFFF
##1C28721.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c2872;
/* rgb */ color: rgb(28, 40, 114);
/* oklch */ color: oklch(31.9% 0.127 270.3);
Tailwind
colors: {
  custom: {
    50: '#66619b',
    500: '#1c2872',
    950: '#000000',
  },
}
SCSS
$custom: #1c2872;
$custom-light: #66619b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2872",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 231.628,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31896,
    "c": 0.12742,
    "h": 270.3
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#1C2872
secondary
#A69943
accent
#CD44E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1C2872

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

Preview Lab → · Contrast checker → · Palette generator →

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