#1A293F#1A293F

#1A293F is a dark, muted blue. Relative luminance 0.022; OKLCH L 27.9% C 0.046 H 257.8°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#1A293F
RGBrgb(26, 41, 63)
HSLhsl(216, 42%, 17%)
HSVhsv(216, 59%, 25%)
CMYKcmyk(58.7%, 34.9%, 0%, 75.3%)
CIE-LABlab(16.33, 1.32, -15.92)
CIE-LCHlch(16.33, 15.98, 274.72°)
OKLaboklab(27.89% -0.0096 -0.0447)
OKLCHoklch(27.89% 0.046 257.8)
XYZxyz(2.1158, 2.1642, 5.0079)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A293F #3F301A
analogous
#1A3B3F #1A293F #1E1A3F
triadic
#1A293F #3F1A29 #293F1A
tetradic
#1A293F #3F1A3B #3F301A #1A3F1E
square
#1A293F #3F1A3B #3F301A #1A3F1E
split-complementary
#1A293F #3F1E1A #3B3F1A
monochromatic
#090E16 #090E16 #1A293F #2C456A #3E6196

Accessibility & contrast

On white

14.66
#1A293F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A293F
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A293F#FFFFFF#000000##FFFFFF
##1A293F1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#1C273F
Tritanopia (blue-blind)
#082E31
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a293f;
/* rgb */ color: rgb(26, 41, 63);
/* oklch */ color: oklch(27.9% 0.046 257.8);
Tailwind
colors: {
  custom: {
    50: '#596274',
    500: '#1a293f',
    950: '#000000',
  },
}
SCSS
$custom: #1a293f;
$custom-light: #596274;
$custom-dark: #000000;
JSON
{
  "hex": "#1a293f",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 63
  },
  "hsl": {
    "h": 215.676,
    "s": 41.573,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27894,
    "c": 0.04577,
    "h": 257.8
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#1A293F
secondary
#755F40
accent
#A056D1
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040508
muted
#79797B

Preview Lab

Preview with #1A293F

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

Preview Lab → · Contrast checker → · Palette generator →

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