#1C1937#1C1937

#1C1937 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.4% C 0.056 H 285.7°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#1C1937
RGBrgb(28, 25, 55)
HSLhsl(246, 38%, 16%)
HSVhsv(246, 55%, 22%)
CMYKcmyk(49.1%, 54.5%, 0%, 78.4%)
CIE-LABlab(10.69, 10.82, -19.16)
CIE-LCHlch(10.69, 22.01, 299.45°)
OKLaboklab(23.44% 0.0153 -0.0542)
OKLCHoklch(23.44% 0.056 285.7)
XYZxyz(1.5159, 1.2179, 3.7689)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1937 #343719
analogous
#192537 #1C1937 #2B1937
triadic
#1C1937 #371C19 #19371C
tetradic
#1C1937 #371925 #343719 #19372B
square
#1C1937 #371925 #343719 #19372B
split-complementary
#1C1937 #372B19 #253719
monochromatic
#0B0A15 #0B0A15 #1C1937 #312C61 #473F8B

Accessibility & contrast

On white

16.89
#1C1937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1C1937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1937
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1937#FFFFFF#000000##FFFFFF
##1C19371.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1E38
Deuteranopia (green-blind)
#0D1C36
Tritanopia (blue-blind)
#141F25
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1c1937;
/* rgb */ color: rgb(28, 25, 55);
/* oklch */ color: oklch(23.4% 0.056 285.7);
Tailwind
colors: {
  custom: {
    50: '#5a556e',
    500: '#1c1937',
    950: '#000000',
  },
}
SCSS
$custom: #1c1937;
$custom-light: #5a556e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1937",
  "rgb": {
    "r": 28,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 246,
    "s": 37.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23437,
    "c": 0.05635,
    "h": 285.7
  },
  "luminance": 0.01218
}

Semantic roles & 50–950 ramp

primary
#1C1937
secondary
#686C3F
accent
#CD5AC2
background
#F5F4F6
surface
#E9E8EB
border
#C5C4C6
text
#040307
muted
#79787A

Preview Lab

Preview with #1C1937

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

Preview Lab → · Contrast checker → · Palette generator →

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