#1B293E#1B293E

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

Color values

HEX#1B293E
RGBrgb(27, 41, 62)
HSLhsl(216, 39%, 17%)
HSVhsv(216, 56%, 24%)
CMYKcmyk(56.5%, 33.9%, 0%, 75.7%)
CIE-LABlab(16.34, 1.23, -15.21)
CIE-LCHlch(16.34, 15.26, 274.62°)
OKLaboklab(27.9% -0.0088 -0.0426)
OKLCHoklch(27.9% 0.044 258.3)
XYZxyz(2.1141, 2.1665, 4.8633)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B293E #3E301B
analogous
#1B3B3E #1B293E #1E1B3E
triadic
#1B293E #3E1B29 #293E1B
tetradic
#1B293E #3E1B3B #3E301B #1B3E1E
square
#1B293E #3E1B3B #3E301B #1B3E1E
split-complementary
#1B293E #3E1E1B #3B3E1B
monochromatic
#090E15 #090E15 #1B293E #2E4569 #406193

Accessibility & contrast

On white

14.65
#1B293E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B293E
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B293E#FFFFFF#000000##FFFFFF
##1B293E1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3F
Deuteranopia (green-blind)
#1D273E
Tritanopia (blue-blind)
#0B2E30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b293e;
/* rgb */ color: rgb(27, 41, 62);
/* oklch */ color: oklch(27.9% 0.044 258.3);
Tailwind
colors: {
  custom: {
    50: '#5a6273',
    500: '#1b293e',
    950: '#000000',
  },
}
SCSS
$custom: #1b293e;
$custom-light: #5a6273;
$custom-dark: #000000;
JSON
{
  "hex": "#1b293e",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 62
  },
  "hsl": {
    "h": 216,
    "s": 39.326,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27903,
    "c": 0.04356,
    "h": 258.3
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#1B293E
secondary
#735F42
accent
#A059CF
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040508
muted
#79797B

Preview Lab

Preview with #1B293E

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

Preview Lab → · Contrast checker → · Palette generator →

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