#031731#031731

#031731 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.5% C 0.058 H 255.0°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#031731
RGBrgb(3, 23, 49)
HSLhsl(214, 88%, 10%)
HSVhsv(214, 94%, 19%)
CMYKcmyk(93.9%, 53.1%, 0%, 80.8%)
CIE-LABlab(7.71, 3.50, -19.67)
CIE-LCHlch(7.71, 19.98, 280.08°)
OKLaboklab(20.53% -0.0151 -0.0564)
OKLCHoklch(20.53% 0.058 255)
XYZxyz(0.8981, 0.8538, 3.0226)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031731 #311D03
analogous
#032E31 #031731 #060331
triadic
#031731 #310317 #173103
tetradic
#031731 #31032E #311D03 #033106
square
#031731 #31032E #311D03 #033106
split-complementary
#031731 #310603 #2E3103
monochromatic
#020E1D #020E1D #031731 #07326B #0A4DA4

Accessibility & contrast

On white

17.94
#031731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#031731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031731
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031731#FFFFFF#000000##FFFFFF
##0317311.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091932
Deuteranopia (green-blind)
#021530
Tritanopia (blue-blind)
#001D21
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031731;
/* rgb */ color: rgb(3, 23, 49);
/* oklch */ color: oklch(20.5% 0.058 255.0);
Tailwind
colors: {
  custom: {
    50: '#4b5369',
    500: '#031731',
    950: '#000000',
  },
}
SCSS
$custom: #031731;
$custom-light: #4b5369;
$custom-dark: #000000;
JSON
{
  "hex": "#031731",
  "rgb": {
    "r": 3,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 213.913,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20528,
    "c": 0.05843,
    "h": 255
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#031731
secondary
#744E1B
accent
#A229FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #031731

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

Preview Lab → · Contrast checker → · Palette generator →

#031731 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva