#031F28#031F28

#031F28 is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.3% C 0.038 H 222.8°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#031F28
RGBrgb(3, 31, 40)
HSLhsl(195, 86%, 8%)
HSVhsv(195, 93%, 16%)
CMYKcmyk(92.5%, 22.5%, 0%, 84.3%)
CIE-LABlab(10.20, -6.75, -9.15)
CIE-LCHlch(10.20, 11.37, 233.56°)
OKLaboklab(22.31% -0.0277 -0.0256)
OKLCHoklch(22.31% 0.038 222.8)
XYZxyz(0.9104, 1.1524, 2.1815)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F28 #280C03
analogous
#03281E #031F28 #030C28
triadic
#031F28 #28031F #1F2803
tetradic
#031F28 #1E0328 #280C03 #0C2803
square
#031F28 #1E0328 #280C03 #0C2803
split-complementary
#031F28 #28030C #281E03
monochromatic
#02161C #02161C #031F28 #074B61 #0C779A

Accessibility & contrast

On white

17.06
#031F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F28
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F28#FFFFFF#000000##FFFFFF
##031F281.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031f28;
/* rgb */ color: rgb(3, 31, 40);
/* oklch */ color: oklch(22.3% 0.038 222.8);
Tailwind
colors: {
  custom: {
    50: '#495a61',
    500: '#031f28',
    950: '#000000',
  },
}
SCSS
$custom: #031f28;
$custom-light: #495a61;
$custom-dark: #000000;
JSON
{
  "hex": "#031f28",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 194.595,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.22309,
    "c": 0.03775,
    "h": 222.8
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#031F28
secondary
#6C2F1B
accent
#5E2CFC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010305
muted
#777879

Preview Lab

Preview with #031F28

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

Preview Lab → · Contrast checker → · Palette generator →

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