#1C1D80#1C1D80

#1C1D80 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.160 H 272.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#1C1D80
RGBrgb(28, 29, 128)
HSLhsl(239, 64%, 31%)
HSVhsv(239, 78%, 50%)
CMYKcmyk(78.1%, 77.3%, 0%, 49.8%)
CIE-LABlab(18.73, 35.29, -55.09)
CIE-LCHlch(18.73, 65.42, 302.64°)
OKLaboklab(31.44% 0.0057 -0.1595)
OKLCHoklch(31.44% 0.16 272)
XYZxyz(4.8132, 2.6836, 20.6822)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1D80 #807F1C
analogous
#1C4F80 #1C1D80 #4D1C80
triadic
#1C1D80 #801C1D #1D801C
tetradic
#1C1D80 #801C4F #807F1C #1C804D
square
#1C1D80 #801C4F #807F1C #1C804D
split-complementary
#1C1D80 #804D1C #4F801C
monochromatic
#06061C #11124E #1C1D80 #2728B2 #4142D5

Accessibility & contrast

On white

13.66
#1C1D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1C1D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1D80
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1D80#FFFFFF#000000##FFFFFF
##1C1D801.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#00297E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c1d80;
/* rgb */ color: rgb(28, 29, 128);
/* oklch */ color: oklch(31.4% 0.160 272.0);
Tailwind
colors: {
  custom: {
    50: '#6b5aa6',
    500: '#1c1d80',
    950: '#000000',
  },
}
SCSS
$custom: #1c1d80;
$custom-light: #6b5aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1d80",
  "rgb": {
    "r": 28,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 239.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3144,
    "c": 0.15956,
    "h": 272
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#1C1D80
secondary
#B3B244
accent
#E541E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1C1D80

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

Preview Lab → · Contrast checker → · Palette generator →

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