#1B293D#1B293D

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

Color values

HEX#1B293D
RGBrgb(27, 41, 61)
HSLhsl(215, 39%, 17%)
HSVhsv(215, 56%, 24%)
CMYKcmyk(55.7%, 32.8%, 0%, 76.1%)
CIE-LABlab(16.28, 0.86, -14.60)
CIE-LCHlch(16.28, 14.62, 273.36°)
OKLaboklab(27.84% -0.0092 -0.0409)
OKLCHoklch(27.84% 0.042 257.3)
XYZxyz(2.0870, 2.1557, 4.7201)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B293D #3D2F1B
analogous
#1B3A3D #1B293D #1E1B3D
triadic
#1B293D #3D1B29 #293D1B
tetradic
#1B293D #3D1B3A #3D2F1B #1B3D1E
square
#1B293D #3D1B3A #3D2F1B #1B3D1E
split-complementary
#1B293D #3D1E1B #3A3D1B
monochromatic
#090E15 #090E15 #1B293D #2E4667 #416292

Accessibility & contrast

On white

14.67
#1B293D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B293D
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B293D#FFFFFF#000000##FFFFFF
##1B293D1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3E
Deuteranopia (green-blind)
#1D273D
Tritanopia (blue-blind)
#0C2D30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b293d;
/* rgb */ color: rgb(27, 41, 61);
/* oklch */ color: oklch(27.8% 0.042 257.3);
Tailwind
colors: {
  custom: {
    50: '#5a6272',
    500: '#1b293d',
    950: '#000000',
  },
}
SCSS
$custom: #1b293d;
$custom-light: #5a6272;
$custom-dark: #000000;
JSON
{
  "hex": "#1b293d",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 61
  },
  "hsl": {
    "h": 215.294,
    "s": 38.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27843,
    "c": 0.04191,
    "h": 257.3
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#1B293D
secondary
#725E42
accent
#9E59CF
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#040508
muted
#79797B

Preview Lab

Preview with #1B293D

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

Preview Lab → · Contrast checker → · Palette generator →

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