#031D2F#031D2F

#031D2F is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.1% C 0.048 H 242.2°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#031D2F
RGBrgb(3, 29, 47)
HSLhsl(205, 88%, 10%)
HSVhsv(205, 94%, 18%)
CMYKcmyk(93.6%, 38.3%, 0%, 81.6%)
CIE-LABlab(9.82, -2.12, -14.86)
CIE-LCHlch(9.82, 15.01, 261.88°)
OKLaboklab(22.14% -0.0222 -0.0422)
OKLCHoklch(22.14% 0.048 242.2)
XYZxyz(0.9898, 1.1032, 2.8495)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031D2F #2F1503
analogous
#032F2B #031D2F #03072F
triadic
#031D2F #2F031D #1D2F03
tetradic
#031D2F #2B032F #2F1503 #072F03
square
#031D2F #2B032F #2F1503 #072F03
split-complementary
#031D2F #2F0307 #2F2B03
monochromatic
#02121D #02121D #031D2F #074069 #0A64A2

Accessibility & contrast

On white

17.20
#031D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#031D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031D2F
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031D2F#FFFFFF#000000##FFFFFF
##031D2F1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151D30
Deuteranopia (green-blind)
#0E192F
Tritanopia (blue-blind)
#002123
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031d2f;
/* rgb */ color: rgb(3, 29, 47);
/* oklch */ color: oklch(22.1% 0.048 242.2);
Tailwind
colors: {
  custom: {
    50: '#4a5867',
    500: '#031d2f',
    950: '#000000',
  },
}
SCSS
$custom: #031d2f;
$custom-light: #4a5867;
$custom-dark: #000000;
JSON
{
  "hex": "#031d2f",
  "rgb": {
    "r": 3,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 204.545,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2214,
    "c": 0.04765,
    "h": 242.2
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#031D2F
secondary
#733F1B
accent
#812AFE
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #031D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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