#1A293E#1A293E

#1A293E is a dark, muted blue. Relative luminance 0.022; OKLCH L 27.8% C 0.044 H 256.9°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#1A293E
RGBrgb(26, 41, 62)
HSLhsl(215, 41%, 17%)
HSVhsv(215, 58%, 24%)
CMYKcmyk(58.1%, 33.9%, 0%, 75.7%)
CIE-LABlab(16.27, 0.94, -15.32)
CIE-LCHlch(16.27, 15.34, 273.50°)
OKLaboklab(27.83% -0.01 -0.043)
OKLCHoklch(27.83% 0.044 256.9)
XYZxyz(2.0881, 2.1531, 4.8621)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A293E #3E2F1A
analogous
#1A3B3E #1A293E #1D1A3E
triadic
#1A293E #3E1A29 #293E1A
tetradic
#1A293E #3E1A3B #3E2F1A #1A3E1D
square
#1A293E #3E1A3B #3E2F1A #1A3E1D
split-complementary
#1A293E #3E1D1A #3B3E1A
monochromatic
#090E16 #090E16 #1A293E #2C4669 #3E6294

Accessibility & contrast

On white

14.68
#1A293E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1A293E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A293E
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A293E#FFFFFF#000000##FFFFFF
##1A293E1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3F
Deuteranopia (green-blind)
#1C273E
Tritanopia (blue-blind)
#092E30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a293e;
/* rgb */ color: rgb(26, 41, 62);
/* oklch */ color: oklch(27.8% 0.044 256.9);
Tailwind
colors: {
  custom: {
    50: '#596273',
    500: '#1a293e',
    950: '#000000',
  },
}
SCSS
$custom: #1a293e;
$custom-light: #596273;
$custom-dark: #000000;
JSON
{
  "hex": "#1a293e",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 62
  },
  "hsl": {
    "h": 215,
    "s": 40.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27833,
    "c": 0.04413,
    "h": 256.9
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#1A293E
secondary
#745E40
accent
#9E57D1
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040508
muted
#79797B

Preview Lab

Preview with #1A293E

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

Preview Lab → · Contrast checker → · Palette generator →

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