#031F27#031F27

#031F27 is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.3% C 0.037 H 220.1°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#031F27
RGBrgb(3, 31, 39)
HSLhsl(193, 86%, 8%)
HSVhsv(193, 92%, 15%)
CMYKcmyk(92.3%, 20.5%, 0%, 84.7%)
CIE-LABlab(10.15, -7.19, -8.49)
CIE-LCHlch(10.15, 11.12, 229.74°)
OKLaboklab(22.25% -0.0282 -0.0237)
OKLCHoklch(22.25% 0.037 220.1)
XYZxyz(0.8936, 1.1457, 2.0931)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F27 #270B03
analogous
#03271D #031F27 #030D27
triadic
#031F27 #27031F #1F2703
tetradic
#031F27 #1D0327 #270B03 #0D2703
square
#031F27 #1D0327 #270B03 #0D2703
split-complementary
#031F27 #27030D #271D03
monochromatic
#02171C #02171C #031F27 #074C60 #0C7999

Accessibility & contrast

On white

17.08
#031F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#031F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031F27
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F27#FFFFFF#000000##FFFFFF
##031F271.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E27
Deuteranopia (green-blind)
#151A27
Tritanopia (blue-blind)
#002222
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #031f27;
/* rgb */ color: rgb(3, 31, 39);
/* oklch */ color: oklch(22.3% 0.037 220.1);
Tailwind
colors: {
  custom: {
    50: '#495a61',
    500: '#031f27',
    950: '#000000',
  },
}
SCSS
$custom: #031f27;
$custom-light: #495a61;
$custom-dark: #000000;
JSON
{
  "hex": "#031f27",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 193.333,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.22252,
    "c": 0.03688,
    "h": 220.1
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#031F27
secondary
#6B2D1B
accent
#5A2CFC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010305
muted
#777879

Preview Lab

Preview with #031F27

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

Preview Lab → · Contrast checker → · Palette generator →

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