#031A2B#031A2B

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

Color values

HEX#031A2B
RGBrgb(3, 26, 43)
HSLhsl(206, 87%, 9%)
HSVhsv(206, 93%, 17%)
CMYKcmyk(93%, 39.5%, 0%, 83.1%)
CIE-LABlab(8.42, -1.75, -14.14)
CIE-LCHlch(8.42, 14.25, 262.94°)
OKLaboklab(20.94% -0.0203 -0.0401)
OKLCHoklch(20.94% 0.045 243.2)
XYZxyz(0.8428, 0.9325, 2.4206)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A2B #2B1403
analogous
#032B28 #031A2B #03062B
triadic
#031A2B #2B031A #1A2B03
tetradic
#031A2B #28032B #2B1403 #062B03
square
#031A2B #28032B #2B1403 #062B03
split-complementary
#031A2B #2B0306 #2B2803
monochromatic
#02111D #02111D #031A2B #073D64 #0B5F9D

Accessibility & contrast

On white

17.70
#031A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031A2B
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A2B#FFFFFF#000000##FFFFFF
##031A2B1.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031a2b;
/* rgb */ color: rgb(3, 26, 43);
/* oklch */ color: oklch(20.9% 0.045 243.2);
Tailwind
colors: {
  custom: {
    50: '#495664',
    500: '#031a2b',
    950: '#000000',
  },
}
SCSS
$custom: #031a2b;
$custom-light: #495664;
$custom-dark: #000000;
JSON
{
  "hex": "#031a2b",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 43
  },
  "hsl": {
    "h": 205.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20943,
    "c": 0.04498,
    "h": 243.2
  },
  "luminance": 0.00933
}

Semantic roles & 50–950 ramp

primary
#031A2B
secondary
#6F3F1B
accent
#842BFD
background
#F4F5F6
surface
#E7E8EB
border
#C3C4C6
text
#010305
muted
#77787A

Preview Lab

Preview with #031A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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