#1C2280#1C2280

#1C2280 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.154 H 271.2°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1C2280
RGBrgb(28, 34, 128)
HSLhsl(236, 64%, 31%)
HSVhsv(236, 78%, 50%)
CMYKcmyk(78.1%, 73.4%, 0%, 49.8%)
CIE-LABlab(19.84, 32.19, -53.26)
CIE-LCHlch(19.84, 62.23, 301.15°)
OKLaboklab(32.23% 0.0032 -0.1542)
OKLCHoklch(32.23% 0.154 271.2)
XYZxyz(4.9459, 2.9489, 20.7264)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2280 #807A1C
analogous
#1C5480 #1C2280 #481C80
triadic
#1C2280 #801C22 #22801C
tetradic
#1C2280 #801C54 #807A1C #1C8048
square
#1C2280 #801C54 #807A1C #1C8048
split-complementary
#1C2280 #80481C #54801C
monochromatic
#06071C #11154E #1C2280 #272FB2 #414AD5

Accessibility & contrast

On white

13.21
#1C2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1C2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2280
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2280#FFFFFF#000000##FFFFFF
##1C22801.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c2280;
/* rgb */ color: rgb(28, 34, 128);
/* oklch */ color: oklch(32.2% 0.154 271.2);
Tailwind
colors: {
  custom: {
    50: '#6a5ea6',
    500: '#1c2280',
    950: '#000000',
  },
}
SCSS
$custom: #1c2280;
$custom-light: #6a5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2280",
  "rgb": {
    "r": 28,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 236.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32231,
    "c": 0.15419,
    "h": 271.2
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#1C2280
secondary
#B3AD44
accent
#DD41E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1C2280

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

Preview Lab → · Contrast checker → · Palette generator →

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