#1C1939#1C1939

#1C1939 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.6% C 0.060 H 285.1°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#1C1939
RGBrgb(28, 25, 57)
HSLhsl(246, 39%, 16%)
HSVhsv(246, 56%, 22%)
CMYKcmyk(50.9%, 56.1%, 0%, 77.6%)
CIE-LABlab(10.83, 11.55, -20.37)
CIE-LCHlch(10.83, 23.42, 299.54°)
OKLaboklab(23.59% 0.0156 -0.0578)
OKLCHoklch(23.59% 0.06 285.1)
XYZxyz(1.5648, 1.2375, 4.0265)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1939 #363919
analogous
#192639 #1C1939 #2C1939
triadic
#1C1939 #391C19 #19391C
tetradic
#1C1939 #391926 #363919 #19392C
square
#1C1939 #391926 #363919 #19392C
split-complementary
#1C1939 #392C19 #263919
monochromatic
#0A0915 #0A0915 #1C1939 #312C64 #463E8E

Accessibility & contrast

On white

16.83
#1C1939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1C1939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1939
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1939#FFFFFF#000000##FFFFFF
##1C19391.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1E3A
Deuteranopia (green-blind)
#0B1C38
Tritanopia (blue-blind)
#132026
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1c1939;
/* rgb */ color: rgb(28, 25, 57);
/* oklch */ color: oklch(23.6% 0.060 285.1);
Tailwind
colors: {
  custom: {
    50: '#5a556f',
    500: '#1c1939',
    950: '#000000',
  },
}
SCSS
$custom: #1c1939;
$custom-light: #5a556f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1939",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 245.625,
    "s": 39.024,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2359,
    "c": 0.05985,
    "h": 285.1
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#1C1939
secondary
#6A6F3F
accent
#CF59C4
background
#F5F4F6
surface
#E9E8EC
border
#C5C4C7
text
#040307
muted
#79787A

Preview Lab

Preview with #1C1939

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

Preview Lab → · Contrast checker → · Palette generator →

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