#1A1E2E#1A1E2E

#1A1E2E is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.9% C 0.031 H 273.0°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#1A1E2E
RGBrgb(26, 30, 46)
HSLhsl(228, 28%, 14%)
HSVhsv(228, 43%, 18%)
CMYKcmyk(43.5%, 34.8%, 0%, 82%)
CIE-LABlab(11.59, 3.16, -11.26)
CIE-LCHlch(11.59, 11.69, 285.66°)
OKLaboklab(23.9% 0.0017 -0.0313)
OKLCHoklch(23.9% 0.031 273)
XYZxyz(1.3833, 1.3454, 2.7710)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E2E #2E2A1A
analogous
#1A282E #1A1E2E #201A2E
triadic
#1A1E2E #2E1A1E #1E2E1A
tetradic
#1A1E2E #2E1A28 #2E2A1A #1A2E20
square
#1A1E2E #2E1A28 #2E2A1A #1A2E20
split-complementary
#1A1E2E #2E201A #282E1A
monochromatic
#0B0D14 #0B0D14 #1A1E2E #303855 #46517C

Accessibility & contrast

On white

16.55
#1A1E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1A1E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E2E
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E2E#FFFFFF#000000##FFFFFF
##1A1E2E1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19202F
Deuteranopia (green-blind)
#171E2E
Tritanopia (blue-blind)
#142124
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a1e2e;
/* rgb */ color: rgb(26, 30, 46);
/* oklch */ color: oklch(23.9% 0.031 273.0);
Tailwind
colors: {
  custom: {
    50: '#575966',
    500: '#1a1e2e',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e2e;
$custom-light: #575966;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e2e",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 46
  },
  "hsl": {
    "h": 228,
    "s": 27.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23896,
    "c": 0.03137,
    "h": 273
  },
  "luminance": 0.01345
}

Semantic roles & 50–950 ramp

primary
#1A1E2E
secondary
#625B42
accent
#B164C4
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #1A1E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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