#031F32#031F32

#031F32 is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 23.0% C 0.050 H 242.2°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#031F32
RGBrgb(3, 31, 50)
HSLhsl(204, 89%, 10%)
HSVhsv(204, 94%, 20%)
CMYKcmyk(94%, 38%, 0%, 80.4%)
CIE-LABlab(10.77, -2.20, -15.53)
CIE-LCHlch(10.77, 15.69, 261.94°)
OKLaboklab(22.95% -0.0233 -0.0441)
OKLCHoklch(22.95% 0.05 242.2)
XYZxyz(1.1030, 1.2295, 3.1962)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F32 #321603
analogous
#03322D #031F32 #030832
triadic
#031F32 #32031F #1F3203
tetradic
#031F32 #2D0332 #321603 #083203
square
#031F32 #2D0332 #321603 #083203
split-complementary
#031F32 #320308 #322D03
monochromatic
#02121D #02121D #031F32 #06436C #0A67A5

Accessibility & contrast

On white

16.85
#031F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#031F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031F32
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F32#FFFFFF#000000##FFFFFF
##031F321.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161F33
Deuteranopia (green-blind)
#0F1B32
Tritanopia (blue-blind)
#002426
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #031f32;
/* rgb */ color: rgb(3, 31, 50);
/* oklch */ color: oklch(23.0% 0.050 242.2);
Tailwind
colors: {
  custom: {
    50: '#4b5a6a',
    500: '#031f32',
    950: '#000000',
  },
}
SCSS
$custom: #031f32;
$custom-light: #4b5a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#031f32",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 50
  },
  "hsl": {
    "h": 204.255,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22953,
    "c": 0.04989,
    "h": 242.2
  },
  "luminance": 0.0123
}

Semantic roles & 50–950 ramp

primary
#031F32
secondary
#75401B
accent
#7F29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #031F32

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

Preview Lab → · Contrast checker → · Palette generator →

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