#1C2877#1C2877

#1C2877 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.135 H 270.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#1C2877
RGBrgb(28, 40, 119)
HSLhsl(232, 62%, 29%)
HSVhsv(232, 76%, 47%)
CMYKcmyk(76.5%, 66.4%, 0%, 53.3%)
CIE-LABlab(20.42, 24.77, -46.57)
CIE-LCHlch(20.42, 52.75, 298.00°)
OKLaboklab(32.38% 0.0004 -0.1346)
OKLCHoklch(32.38% 0.135 270.2)
XYZxyz(4.5663, 3.0959, 17.8061)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2877 #776B1C
analogous
#1C5677 #1C2877 #3E1C77
triadic
#1C2877 #771C28 #28771C
tetradic
#1C2877 #771C56 #776B1C #1C773E
square
#1C2877 #771C56 #776B1C #1C773E
split-complementary
#1C2877 #773E1C #56771C
monochromatic
#060819 #101745 #1C2877 #2839A9 #3C50D1

Accessibility & contrast

On white

12.97
#1C2877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1C2877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2877
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2877#FFFFFF#000000##FFFFFF
##1C28771.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2877;
/* rgb */ color: rgb(28, 40, 119);
/* oklch */ color: oklch(32.4% 0.135 270.2);
Tailwind
colors: {
  custom: {
    50: '#67629f',
    500: '#1c2877',
    950: '#000000',
  },
}
SCSS
$custom: #1c2877;
$custom-light: #67629f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2877",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 232.088,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32382,
    "c": 0.1346,
    "h": 270.2
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#1C2877
secondary
#AB9D44
accent
#D043E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1C2877

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

Preview Lab → · Contrast checker → · Palette generator →

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