#031A2A#031A2A

#031A2A is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.9% C 0.044 H 241.6°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#031A2A
RGBrgb(3, 26, 42)
HSLhsl(205, 87%, 9%)
HSVhsv(205, 93%, 16%)
CMYKcmyk(92.9%, 38.1%, 0%, 83.5%)
CIE-LABlab(8.35, -2.22, -13.50)
CIE-LCHlch(8.35, 13.68, 260.67°)
OKLaboklab(20.87% -0.0207 -0.0383)
OKLCHoklch(20.87% 0.044 241.6)
XYZxyz(0.8247, 0.9252, 2.3252)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A2A #2A1303
analogous
#032A27 #031A2A #03072A
triadic
#031A2A #2A031A #1A2A03
tetradic
#031A2A #27032A #2A1303 #072A03
square
#031A2A #27032A #2A1303 #072A03
split-complementary
#031A2A #2A0307 #2A2703
monochromatic
#02121D #02121D #031A2A #073D63 #0B619C

Accessibility & contrast

On white

17.72
#031A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031A2A
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A2A#FFFFFF#000000##FFFFFF
##031A2A1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031a2a;
/* rgb */ color: rgb(3, 26, 42);
/* oklch */ color: oklch(20.9% 0.044 241.6);
Tailwind
colors: {
  custom: {
    50: '#495663',
    500: '#031a2a',
    950: '#000000',
  },
}
SCSS
$custom: #031a2a;
$custom-light: #495663;
$custom-dark: #000000;
JSON
{
  "hex": "#031a2a",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 204.615,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20872,
    "c": 0.04351,
    "h": 241.6
  },
  "luminance": 0.00925
}

Semantic roles & 50–950 ramp

primary
#031A2A
secondary
#6E3D1B
accent
#812BFD
background
#F4F5F5
surface
#E7E8EA
border
#C3C4C6
text
#010305
muted
#777879

Preview Lab

Preview with #031A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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