#031D27#031D27

#031D27 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.6% C 0.037 H 226.7°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#031D27
RGBrgb(3, 29, 39)
HSLhsl(197, 86%, 8%)
HSVhsv(197, 92%, 15%)
CMYKcmyk(92.3%, 25.6%, 0%, 84.7%)
CIE-LABlab(9.36, -5.80, -9.71)
CIE-LCHlch(9.36, 11.31, 239.17°)
OKLaboklab(21.62% -0.0257 -0.0273)
OKLCHoklch(21.62% 0.037 226.7)
XYZxyz(0.8430, 1.0445, 2.0762)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031D27 #270D03
analogous
#03271F #031D27 #030B27
triadic
#031D27 #27031D #1D2703
tetradic
#031D27 #1F0327 #270D03 #0B2703
square
#031D27 #1F0327 #270D03 #0B2703
split-complementary
#031D27 #27030B #271F03
monochromatic
#02151C #02151C #031D27 #074760 #0C7299

Accessibility & contrast

On white

17.37
#031D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#031D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031D27
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031D27#FFFFFF#000000##FFFFFF
##031D271.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181C27
Deuteranopia (green-blind)
#131927
Tritanopia (blue-blind)
#002020
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #031d27;
/* rgb */ color: rgb(3, 29, 39);
/* oklch */ color: oklch(21.6% 0.037 226.7);
Tailwind
colors: {
  custom: {
    50: '#485861',
    500: '#031d27',
    950: '#000000',
  },
}
SCSS
$custom: #031d27;
$custom-light: #485861;
$custom-dark: #000000;
JSON
{
  "hex": "#031d27",
  "rgb": {
    "r": 3,
    "g": 29,
    "b": 39
  },
  "hsl": {
    "h": 196.667,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.21615,
    "c": 0.03747,
    "h": 226.7
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#031D27
secondary
#6B311B
accent
#662CFC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010305
muted
#777879

Preview Lab

Preview with #031D27

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

Preview Lab → · Contrast checker → · Palette generator →

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