#1C202E#1C202E

#1C202E is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.6% C 0.027 H 271.9°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#1C202E
RGBrgb(28, 32, 46)
HSLhsl(227, 24%, 15%)
HSVhsv(227, 39%, 18%)
CMYKcmyk(39.1%, 30.4%, 0%, 82%)
CIE-LABlab(12.46, 2.41, -9.90)
CIE-LCHlch(12.46, 10.19, 283.70°)
OKLaboklab(24.62% 0.0009 -0.0274)
OKLCHoklch(24.62% 0.027 271.9)
XYZxyz(1.4884, 1.4771, 2.7909)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C202E #2E2A1C
analogous
#1C292E #1C202E #211C2E
triadic
#1C202E #2E1C20 #202E1C
tetradic
#1C202E #2E1C29 #2E2A1C #1C2E21
square
#1C202E #2E1C29 #2E2A1C #1C2E21
split-complementary
#1C202E #2E211C #292E1C
monochromatic
#0C0D13 #0C0D13 #1C202E #333A54 #4A557A

Accessibility & contrast

On white

16.21
#1C202E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1C202E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C202E
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C202E#FFFFFF#000000##FFFFFF
##1C202E1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C212F
Deuteranopia (green-blind)
#1A202E
Tritanopia (blue-blind)
#172325
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1c202e;
/* rgb */ color: rgb(28, 32, 46);
/* oklch */ color: oklch(24.6% 0.027 271.9);
Tailwind
colors: {
  custom: {
    50: '#585b66',
    500: '#1c202e',
    950: '#000000',
  },
}
SCSS
$custom: #1c202e;
$custom-light: #585b66;
$custom-dark: #000000;
JSON
{
  "hex": "#1c202e",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 46
  },
  "hsl": {
    "h": 226.667,
    "s": 24.324,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24621,
    "c": 0.02741,
    "h": 271.9
  },
  "luminance": 0.01477
}

Semantic roles & 50–950 ramp

primary
#1C202E
secondary
#615B45
accent
#AD67C1
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030406
muted
#78797A

Preview Lab

Preview with #1C202E

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

Preview Lab → · Contrast checker → · Palette generator →

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