#1C2873#1C2873

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

Color values

HEX#1C2873
RGBrgb(28, 40, 115)
HSLhsl(232, 61%, 28%)
HSVhsv(232, 76%, 45%)
CMYKcmyk(75.7%, 65.2%, 0%, 54.9%)
CIE-LABlab(20.05, 23.20, -44.62)
CIE-LCHlch(20.05, 50.29, 297.47°)
OKLaboklab(31.99% 0.0006 -0.1289)
OKLCHoklch(31.99% 0.129 270.3)
XYZxyz(4.3311, 3.0018, 16.5675)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2873 #73671C
analogous
#1C5373 #1C2873 #3B1C73
triadic
#1C2873 #731C28 #28731C
tetradic
#1C2873 #731C53 #73671C #1C733B
square
#1C2873 #731C53 #73671C #1C733B
split-complementary
#1C2873 #733B1C #53731C
monochromatic
#060919 #101742 #1C2873 #2839A4 #3A4FCF

Accessibility & contrast

On white

13.12
#1C2873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2873
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2873#FFFFFF#000000##FFFFFF
##1C28731.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2873;
/* rgb */ color: rgb(28, 40, 115);
/* oklch */ color: oklch(32.0% 0.129 270.3);
Tailwind
colors: {
  custom: {
    50: '#66619c',
    500: '#1c2873',
    950: '#000000',
  },
}
SCSS
$custom: #1c2873;
$custom-light: #66619c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2873",
  "rgb": {
    "r": 28,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 231.724,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31992,
    "c": 0.12887,
    "h": 270.3
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#1C2873
secondary
#A79A43
accent
#CE44E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1C2873

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

Preview Lab → · Contrast checker → · Palette generator →

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