#031A21#031A21

#031A21 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.3% C 0.033 H 220.4°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#031A21
RGBrgb(3, 26, 33)
HSLhsl(194, 83%, 7%)
HSVhsv(194, 91%, 13%)
CMYKcmyk(90.9%, 21.2%, 0%, 87.1%)
CIE-LABlab(7.84, -5.88, -7.58)
CIE-LCHlch(7.84, 9.59, 232.18°)
OKLaboklab(20.29% -0.0249 -0.0212)
OKLCHoklch(20.29% 0.033 220.4)
XYZxyz(0.6813, 0.8679, 1.5702)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A21 #210A03
analogous
#032119 #031A21 #030B21
triadic
#031A21 #21031A #1A2103
tetradic
#031A21 #190321 #210A03 #0B2103
square
#031A21 #190321 #210A03 #0B2103
split-complementary
#031A21 #21030B #211903
monochromatic
#03161C #03161C #031A21 #084659 #0D7291

Accessibility & contrast

On white

17.89
#031A21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#031A21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031A21
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A21#FFFFFF#000000##FFFFFF
##031A211.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161921
Deuteranopia (green-blind)
#111621
Tritanopia (blue-blind)
#001C1C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031a21;
/* rgb */ color: rgb(3, 26, 33);
/* oklch */ color: oklch(20.3% 0.033 220.4);
Tailwind
colors: {
  custom: {
    50: '#47565c',
    500: '#031a21',
    950: '#000000',
  },
}
SCSS
$custom: #031a21;
$custom-light: #47565c;
$custom-dark: #000000;
JSON
{
  "hex": "#031a21",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 33
  },
  "hsl": {
    "h": 194,
    "s": 83.333,
    "l": 7.059
  },
  "oklch": {
    "l": 0.20293,
    "c": 0.03267,
    "h": 220.4
  },
  "luminance": 0.00868
}

Semantic roles & 50–950 ramp

primary
#031A21
secondary
#652C1B
accent
#5E2EFA
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000304
muted
#777879

Preview Lab

Preview with #031A21

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

Preview Lab → · Contrast checker → · Palette generator →

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