#031727#031727

#031727 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.7% C 0.042 H 244.3°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#031727
RGBrgb(3, 23, 39)
HSLhsl(207, 86%, 8%)
HSVhsv(207, 92%, 15%)
CMYKcmyk(92.3%, 41%, 0%, 84.7%)
CIE-LABlab(7.03, -1.23, -13.34)
CIE-LCHlch(7.03, 13.39, 264.75°)
OKLaboklab(19.73% -0.0183 -0.0381)
OKLCHoklch(19.73% 0.042 244.3)
XYZxyz(0.7100, 0.7785, 2.0319)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031727 #271303
analogous
#032725 #031727 #030527
triadic
#031727 #270317 #172703
tetradic
#031727 #250327 #271303 #052703
square
#031727 #250327 #271303 #052703
split-complementary
#031727 #270305 #272503
monochromatic
#02111C #02111C #031727 #073960 #0C5A99

Accessibility & contrast

On white

18.17
#031727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#031727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031727
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031727#FFFFFF#000000##FFFFFF
##0317271.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101828
Deuteranopia (green-blind)
#0A1427
Tritanopia (blue-blind)
#001B1D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031727;
/* rgb */ color: rgb(3, 23, 39);
/* oklch */ color: oklch(19.7% 0.042 244.3);
Tailwind
colors: {
  custom: {
    50: '#485361',
    500: '#031727',
    950: '#000000',
  },
}
SCSS
$custom: #031727;
$custom-light: #485361;
$custom-dark: #000000;
JSON
{
  "hex": "#031727",
  "rgb": {
    "r": 3,
    "g": 23,
    "b": 39
  },
  "hsl": {
    "h": 206.667,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.19733,
    "c": 0.04223,
    "h": 244.3
  },
  "luminance": 0.00779
}

Semantic roles & 50–950 ramp

primary
#031727
secondary
#6B3E1B
accent
#882CFC
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010205
muted
#777879

Preview Lab

Preview with #031727

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

Preview Lab → · Contrast checker → · Palette generator →

#031727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva