#1C2879#1C2879

#1C2879 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.137 H 270.1°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#1C2879
RGBrgb(28, 40, 121)
HSLhsl(232, 62%, 29%)
HSVhsv(232, 77%, 47%)
CMYKcmyk(76.9%, 66.9%, 0%, 52.5%)
CIE-LABlab(20.61, 25.55, -47.54)
CIE-LCHlch(20.61, 53.97, 298.25°)
OKLaboklab(32.58% 0.0003 -0.1374)
OKLCHoklch(32.58% 0.137 270.1)
XYZxyz(4.6877, 3.1444, 18.4453)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2879 #796D1C
analogous
#1C5779 #1C2879 #3F1C79
triadic
#1C2879 #791C28 #28791C
tetradic
#1C2879 #791C57 #796D1C #1C793F
square
#1C2879 #791C57 #796D1C #1C793F
split-complementary
#1C2879 #793F1C #57791C
monochromatic
#060819 #101847 #1C2879 #2838AB #3D50D2

Accessibility & contrast

On white

12.89
#1C2879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1C2879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2879
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2879#FFFFFF#000000##FFFFFF
##1C28791.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c2879;
/* rgb */ color: rgb(28, 40, 121);
/* oklch */ color: oklch(32.6% 0.137 270.1);
Tailwind
colors: {
  custom: {
    50: '#6862a1',
    500: '#1c2879',
    950: '#000000',
  },
}
SCSS
$custom: #1c2879;
$custom-light: #6862a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2879",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 232.258,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32579,
    "c": 0.13743,
    "h": 270.1
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#1C2879
secondary
#AD9F44
accent
#D042E5
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1C2879

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

Preview Lab → · Contrast checker → · Palette generator →

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