#031B2B#031B2B

#031B2B is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.3% C 0.044 H 240.8°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#031B2B
RGBrgb(3, 27, 43)
HSLhsl(204, 87%, 9%)
HSVhsv(204, 93%, 17%)
CMYKcmyk(93%, 37.2%, 0%, 83.1%)
CIE-LABlab(8.80, -2.50, -13.53)
CIE-LCHlch(8.80, 13.76, 259.53°)
OKLaboklab(21.25% -0.0215 -0.0383)
OKLCHoklch(21.25% 0.044 240.8)
XYZxyz(0.8654, 0.9775, 2.4281)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B2B #2B1303
analogous
#032B27 #031B2B #03072B
triadic
#031B2B #2B031B #1B2B03
tetradic
#031B2B #27032B #2B1303 #072B03
square
#031B2B #27032B #2B1303 #072B03
split-complementary
#031B2B #2B0307 #2B2703
monochromatic
#02121D #02121D #031B2B #073F64 #0B639D

Accessibility & contrast

On white

17.56
#031B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#031B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031B2B
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B2B#FFFFFF#000000##FFFFFF
##031B2B1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131B2C
Deuteranopia (green-blind)
#0E172B
Tritanopia (blue-blind)
#001F21
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031b2b;
/* rgb */ color: rgb(3, 27, 43);
/* oklch */ color: oklch(21.3% 0.044 240.8);
Tailwind
colors: {
  custom: {
    50: '#495764',
    500: '#031b2b',
    950: '#000000',
  },
}
SCSS
$custom: #031b2b;
$custom-light: #495764;
$custom-dark: #000000;
JSON
{
  "hex": "#031b2b",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 43
  },
  "hsl": {
    "h": 204,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.2125,
    "c": 0.04395,
    "h": 240.8
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

primary
#031B2B
secondary
#6F3D1B
accent
#7F2BFD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #031B2B

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

Preview Lab → · Contrast checker → · Palette generator →

#031B2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva