#031F2A#031F2A

#031F2A is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.4% C 0.040 H 227.7°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#031F2A
RGBrgb(3, 31, 42)
HSLhsl(197, 87%, 9%)
HSVhsv(197, 93%, 16%)
CMYKcmyk(92.9%, 26.2%, 0%, 83.5%)
CIE-LABlab(10.31, -5.87, -10.45)
CIE-LCHlch(10.31, 11.98, 240.69°)
OKLaboklab(22.43% -0.0267 -0.0294)
OKLCHoklch(22.43% 0.04 227.7)
XYZxyz(0.9453, 1.1664, 2.3654)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F2A #2A0E03
analogous
#032A22 #031F2A #030C2A
triadic
#031F2A #2A031F #1F2A03
tetradic
#031F2A #22032A #2A0E03 #0C2A03
square
#031F2A #22032A #2A0E03 #0C2A03
split-complementary
#031F2A #2A030C #2A2203
monochromatic
#02151D #02151D #031F2A #074963 #0B739C

Accessibility & contrast

On white

17.03
#031F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F2A
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F2A#FFFFFF#000000##FFFFFF
##031F2A1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E2B
Deuteranopia (green-blind)
#141A2A
Tritanopia (blue-blind)
#002223
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #031f2a;
/* rgb */ color: rgb(3, 31, 42);
/* oklch */ color: oklch(22.4% 0.040 227.7);
Tailwind
colors: {
  custom: {
    50: '#495a63',
    500: '#031f2a',
    950: '#000000',
  },
}
SCSS
$custom: #031f2a;
$custom-light: #495a63;
$custom-dark: #000000;
JSON
{
  "hex": "#031f2a",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 196.923,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.22429,
    "c": 0.03971,
    "h": 227.7
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#031F2A
secondary
#6E321B
accent
#662BFD
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #031F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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