#1C1885#1C1885

#1C1885 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.171 H 272.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#1C1885
RGBrgb(28, 24, 133)
HSLhsl(242, 69%, 31%)
HSVhsv(242, 82%, 52%)
CMYKcmyk(78.9%, 82%, 0%, 47.8%)
CIE-LABlab(18.33, 39.82, -58.91)
CIE-LCHlch(18.33, 71.10, 304.06°)
OKLaboklab(31.34% 0.0065 -0.1705)
OKLCHoklch(31.34% 0.171 272.2)
XYZxyz(5.0377, 2.5931, 22.4208)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1885 #818518
analogous
#184A85 #1C1885 #521885
triadic
#1C1885 #851C18 #18851C
tetradic
#1C1885 #85184A #818518 #188552
square
#1C1885 #85184A #818518 #188552
split-complementary
#1C1885 #855218 #4A8518
monochromatic
#06051D #110F51 #1C1885 #2721B9 #423CDC

Accessibility & contrast

On white

13.83
#1C1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1C1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1885
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1885#FFFFFF#000000##FFFFFF
##1C18851.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1c1885;
/* rgb */ color: rgb(28, 24, 133);
/* oklch */ color: oklch(31.3% 0.171 272.2);
Tailwind
colors: {
  custom: {
    50: '#6d58aa',
    500: '#1c1885',
    950: '#000000',
  },
}
SCSS
$custom: #1c1885;
$custom-light: #6d58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1885",
  "rgb": {
    "r": 28,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 242.202,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31335,
    "c": 0.17061,
    "h": 272.2
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#1C1885
secondary
#B4B940
accent
#EC3CE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1C1885

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

Preview Lab → · Contrast checker → · Palette generator →

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