#031A2F#031A2F

#031A2F is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.2% C 0.051 H 248.4°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#031A2F
RGBrgb(3, 26, 47)
HSLhsl(209, 88%, 10%)
HSVhsv(209, 94%, 18%)
CMYKcmyk(93.6%, 44.7%, 0%, 81.6%)
CIE-LABlab(8.68, 0.16, -16.66)
CIE-LCHlch(8.68, 16.66, 270.56°)
OKLaboklab(21.24% -0.0188 -0.0475)
OKLCHoklch(21.24% 0.051 248.4)
XYZxyz(0.9198, 0.9633, 2.8262)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A2F #2F1803
analogous
#032F2E #031A2F #03042F
triadic
#031A2F #2F031A #1A2F03
tetradic
#031A2F #2E032F #2F1803 #042F03
square
#031A2F #2E032F #2F1803 #042F03
split-complementary
#031A2F #2F0304 #2F2E03
monochromatic
#02101D #02101D #031A2F #073A69 #0A5AA2

Accessibility & contrast

On white

17.61
#031A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#031A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031A2F
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A2F#FFFFFF#000000##FFFFFF
##031A2F1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101B30
Deuteranopia (green-blind)
#09172F
Tritanopia (blue-blind)
#001F22
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031a2f;
/* rgb */ color: rgb(3, 26, 47);
/* oklch */ color: oklch(21.2% 0.051 248.4);
Tailwind
colors: {
  custom: {
    50: '#4a5667',
    500: '#031a2f',
    950: '#000000',
  },
}
SCSS
$custom: #031a2f;
$custom-light: #4a5667;
$custom-dark: #000000;
JSON
{
  "hex": "#031a2f",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 208.636,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21239,
    "c": 0.05111,
    "h": 248.4
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#031A2F
secondary
#73451B
accent
#8F2AFE
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#010306
muted
#77787A

Preview Lab

Preview with #031A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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