#1F2136#1F2136

#1F2136 is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.6% C 0.040 H 279.0°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#1F2136
RGBrgb(31, 33, 54)
HSLhsl(235, 27%, 17%)
HSVhsv(235, 43%, 21%)
CMYKcmyk(42.6%, 38.9%, 0%, 78.8%)
CIE-LABlab(13.50, 5.47, -13.99)
CIE-LCHlch(13.50, 15.02, 291.37°)
OKLaboklab(25.64% 0.0062 -0.0391)
OKLCHoklch(25.64% 0.04 279)
XYZxyz(1.7746, 1.6453, 3.7134)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2136 #36341F
analogous
#1F2D36 #1F2136 #291F36
triadic
#1F2136 #361F21 #21361F
tetradic
#1F2136 #361F2D #36341F #1F3629
square
#1F2136 #361F2D #36341F #1F3629
split-complementary
#1F2136 #36291F #2D361F
monochromatic
#0B0C13 #0B0C13 #1F2136 #35395D #4C5184

Accessibility & contrast

On white

15.80
#1F2136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1F2136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2136
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2136#FFFFFF#000000##FFFFFF
##1F21361.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2337
Deuteranopia (green-blind)
#192235
Tritanopia (blue-blind)
#192529
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1f2136;
/* rgb */ color: rgb(31, 33, 54);
/* oklch */ color: oklch(25.6% 0.040 279.0);
Tailwind
colors: {
  custom: {
    50: '#5b5c6d',
    500: '#1f2136',
    950: '#000000',
  },
}
SCSS
$custom: #1f2136;
$custom-light: #5b5c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2136",
  "rgb": {
    "r": 31,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 234.783,
    "s": 27.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25638,
    "c": 0.03956,
    "h": 279
  },
  "luminance": 0.01645
}

Semantic roles & 50–950 ramp

primary
#1F2136
secondary
#696648
accent
#BB64C3
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040407
muted
#79797A

Preview Lab

Preview with #1F2136

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

Preview Lab → · Contrast checker → · Palette generator →

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