#1B2139#1B2139

#1B2139 is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.5% C 0.046 H 272.1°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#1B2139
RGBrgb(27, 33, 57)
HSLhsl(228, 36%, 16%)
HSVhsv(228, 53%, 22%)
CMYKcmyk(52.6%, 42.1%, 0%, 77.6%)
CIE-LABlab(13.33, 5.22, -16.42)
CIE-LCHlch(13.33, 17.23, 287.63°)
OKLaboklab(25.47% 0.0017 -0.0462)
OKLCHoklch(25.47% 0.046 272.1)
XYZxyz(1.7341, 1.6160, 4.0907)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2139 #39331B
analogous
#1B3039 #1B2139 #241B39
triadic
#1B2139 #391B21 #21391B
tetradic
#1B2139 #391B30 #39331B #1B3924
square
#1B2139 #391B30 #39331B #1B3924
split-complementary
#1B2139 #39241B #30391B
monochromatic
#0A0C15 #0A0C15 #1B2139 #2F3963 #42518C

Accessibility & contrast

On white

15.87
#1B2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1B2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2139
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2139#FFFFFF#000000##FFFFFF
##1B21391.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243A
Deuteranopia (green-blind)
#162138
Tritanopia (blue-blind)
#10262A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1b2139;
/* rgb */ color: rgb(27, 33, 57);
/* oklch */ color: oklch(25.5% 0.046 272.1);
Tailwind
colors: {
  custom: {
    50: '#595c6f',
    500: '#1b2139',
    950: '#000000',
  },
}
SCSS
$custom: #1b2139;
$custom-light: #595c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2139",
  "rgb": {
    "r": 27,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 228,
    "s": 35.714,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25471,
    "c": 0.04624,
    "h": 272.1
  },
  "luminance": 0.01616
}

Semantic roles & 50–950 ramp

primary
#1B2139
secondary
#6E6542
accent
#B55CCC
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #1B2139

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

Preview Lab → · Contrast checker → · Palette generator →

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