#031A2D#031A2D

#031A2D is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 21.1% C 0.048 H 246.0°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#031A2D
RGBrgb(3, 26, 45)
HSLhsl(207, 88%, 9%)
HSVhsv(207, 93%, 18%)
CMYKcmyk(93.3%, 42.2%, 0%, 82.4%)
CIE-LABlab(8.55, -0.80, -15.41)
CIE-LCHlch(8.55, 15.43, 267.04°)
OKLaboklab(21.09% -0.0195 -0.0438)
OKLCHoklch(21.09% 0.048 246)
XYZxyz(0.8804, 0.9475, 2.6186)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A2D #2D1603
analogous
#032D2B #031A2D #03052D
triadic
#031A2D #2D031A #1A2D03
tetradic
#031A2D #2B032D #2D1603 #052D03
square
#031A2D #2B032D #2D1603 #052D03
split-complementary
#031A2D #2D0305 #2D2B03
monochromatic
#02111D #02111D #031A2D #073B66 #0B5CA0

Accessibility & contrast

On white

17.65
#031A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031A2D
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A2D#FFFFFF#000000##FFFFFF
##031A2D1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111B2E
Deuteranopia (green-blind)
#0B172D
Tritanopia (blue-blind)
#001F21
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031a2d;
/* rgb */ color: rgb(3, 26, 45);
/* oklch */ color: oklch(21.1% 0.048 246.0);
Tailwind
colors: {
  custom: {
    50: '#4a5666',
    500: '#031a2d',
    950: '#000000',
  },
}
SCSS
$custom: #031a2d;
$custom-light: #4a5666;
$custom-dark: #000000;
JSON
{
  "hex": "#031a2d",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 207.143,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21089,
    "c": 0.04801,
    "h": 246
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#031A2D
secondary
#71421B
accent
#8A2AFE
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#010305
muted
#77787A

Preview Lab

Preview with #031A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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