#1A202E#1A202E

#1A202E is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.4% C 0.028 H 266.4°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#1A202E
RGBrgb(26, 32, 46)
HSLhsl(222, 28%, 14%)
HSVhsv(222, 43%, 18%)
CMYKcmyk(43.5%, 30.4%, 0%, 82%)
CIE-LABlab(12.29, 1.67, -10.18)
CIE-LCHlch(12.29, 10.32, 279.33°)
OKLaboklab(24.44% -0.0018 -0.0282)
OKLCHoklch(24.44% 0.028 266.4)
XYZxyz(1.4355, 1.4498, 2.7884)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A202E #2E281A
analogous
#1A2A2E #1A202E #1E1A2E
triadic
#1A202E #2E1A20 #202E1A
tetradic
#1A202E #2E1A2A #2E281A #1A2E1E
square
#1A202E #2E1A2A #2E281A #1A2E1E
split-complementary
#1A202E #2E1E1A #2A2E1A
monochromatic
#0B0E14 #0B0E14 #1A202E #303B55 #46567C

Accessibility & contrast

On white

16.28
#1A202E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1A202E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A202E
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A202E#FFFFFF#000000##FFFFFF
##1A202E1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B212F
Deuteranopia (green-blind)
#191F2E
Tritanopia (blue-blind)
#142325
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1a202e;
/* rgb */ color: rgb(26, 32, 46);
/* oklch */ color: oklch(24.4% 0.028 266.4);
Tailwind
colors: {
  custom: {
    50: '#575b66',
    500: '#1a202e',
    950: '#000000',
  },
}
SCSS
$custom: #1a202e;
$custom-light: #575b66;
$custom-dark: #000000;
JSON
{
  "hex": "#1a202e",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 46
  },
  "hsl": {
    "h": 222,
    "s": 27.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24438,
    "c": 0.0283,
    "h": 266.4
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#1A202E
secondary
#625842
accent
#A764C4
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030406
muted
#78797A

Preview Lab

Preview with #1A202E

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

Preview Lab → · Contrast checker → · Palette generator →

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