#1C2876#1C2876

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

Color values

HEX#1C2876
RGBrgb(28, 40, 118)
HSLhsl(232, 62%, 29%)
HSVhsv(232, 76%, 46%)
CMYKcmyk(76.3%, 66.1%, 0%, 53.7%)
CIE-LABlab(20.33, 24.38, -46.08)
CIE-LCHlch(20.33, 52.13, 297.88°)
OKLaboklab(32.28% 0.0005 -0.1332)
OKLCHoklch(32.28% 0.133 270.2)
XYZxyz(4.5066, 3.0720, 17.4915)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2876 #766A1C
analogous
#1C5576 #1C2876 #3D1C76
triadic
#1C2876 #761C28 #28761C
tetradic
#1C2876 #761C55 #766A1C #1C763D
square
#1C2876 #761C55 #766A1C #1C763D
split-complementary
#1C2876 #763D1C #55761C
monochromatic
#060819 #101745 #1C2876 #2839A7 #3C50D1

Accessibility & contrast

On white

13.01
#1C2876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1C2876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2876
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2876#FFFFFF#000000##FFFFFF
##1C28761.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2876;
/* rgb */ color: rgb(28, 40, 118);
/* oklch */ color: oklch(32.3% 0.133 270.2);
Tailwind
colors: {
  custom: {
    50: '#67619e',
    500: '#1c2876',
    950: '#000000',
  },
}
SCSS
$custom: #1c2876;
$custom-light: #67619e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2876",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 232,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32284,
    "c": 0.13317,
    "h": 270.2
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#1C2876
secondary
#AA9D44
accent
#CF43E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1C2876

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

Preview Lab → · Contrast checker → · Palette generator →

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