#031A2C#031A2C

#031A2C is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 21.0% C 0.046 H 244.6°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#031A2C
RGBrgb(3, 26, 44)
HSLhsl(206, 87%, 9%)
HSVhsv(206, 93%, 17%)
CMYKcmyk(93.2%, 40.9%, 0%, 82.7%)
CIE-LABlab(8.48, -1.27, -14.78)
CIE-LCHlch(8.48, 14.83, 265.08°)
OKLaboklab(21.02% -0.0199 -0.042)
OKLCHoklch(21.02% 0.046 244.6)
XYZxyz(0.8614, 0.9399, 2.5184)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A2C #2C1503
analogous
#032C2A #031A2C #03062C
triadic
#031A2C #2C031A #1A2C03
tetradic
#031A2C #2A032C #2C1503 #062C03
square
#031A2C #2A032C #2C1503 #062C03
split-complementary
#031A2C #2C0306 #2C2A03
monochromatic
#02111D #02111D #031A2C #073C65 #0B5E9F

Accessibility & contrast

On white

17.68
#031A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031A2C
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A2C#FFFFFF#000000##FFFFFF
##031A2C1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121B2D
Deuteranopia (green-blind)
#0B172C
Tritanopia (blue-blind)
#001E20
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031a2c;
/* rgb */ color: rgb(3, 26, 44);
/* oklch */ color: oklch(21.0% 0.046 244.6);
Tailwind
colors: {
  custom: {
    50: '#4a5665',
    500: '#031a2c',
    950: '#000000',
  },
}
SCSS
$custom: #031a2c;
$custom-light: #4a5665;
$custom-dark: #000000;
JSON
{
  "hex": "#031a2c",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 206.341,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.21015,
    "c": 0.04648,
    "h": 244.6
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#031A2C
secondary
#70401B
accent
#872AFD
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#010305
muted
#77787A

Preview Lab

Preview with #031A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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