#031F2C#031F2C

#031F2C is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.6% C 0.042 H 232.1°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#031F2C
RGBrgb(3, 31, 44)
HSLhsl(199, 87%, 9%)
HSVhsv(199, 93%, 17%)
CMYKcmyk(93.2%, 29.5%, 0%, 82.7%)
CIE-LABlab(10.42, -4.97, -11.74)
CIE-LCHlch(10.42, 12.75, 247.06°)
OKLaboklab(22.55% -0.0258 -0.0331)
OKLCHoklch(22.55% 0.042 232.1)
XYZxyz(0.9820, 1.1811, 2.5586)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F2C #2C1003
analogous
#032C25 #031F2C #030B2C
triadic
#031F2C #2C031F #1F2C03
tetradic
#031F2C #25032C #2C1003 #0B2C03
square
#031F2C #25032C #2C1003 #0B2C03
split-complementary
#031F2C #2C030B #2C2503
monochromatic
#02141D #02141D #031F2C #074765 #0B709F

Accessibility & contrast

On white

16.99
#031F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#031F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031F2C
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F2C#FFFFFF#000000##FFFFFF
##031F2C1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F2D
Deuteranopia (green-blind)
#131B2C
Tritanopia (blue-blind)
#002323
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #031f2c;
/* rgb */ color: rgb(3, 31, 44);
/* oklch */ color: oklch(22.6% 0.042 232.1);
Tailwind
colors: {
  custom: {
    50: '#4a5a65',
    500: '#031f2c',
    950: '#000000',
  },
}
SCSS
$custom: #031f2c;
$custom-light: #4a5a65;
$custom-dark: #000000;
JSON
{
  "hex": "#031f2c",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 199.024,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.22553,
    "c": 0.04196,
    "h": 232.1
  },
  "luminance": 0.01181
}

Semantic roles & 50–950 ramp

primary
#031F2C
secondary
#70361B
accent
#6D2AFD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #031F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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