#031A27#031A27

#031A27 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.7% C 0.039 H 236.1°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#031A27
RGBrgb(3, 26, 39)
HSLhsl(202, 86%, 8%)
HSVhsv(202, 92%, 15%)
CMYKcmyk(92.3%, 33.3%, 0%, 84.7%)
CIE-LABlab(8.17, -3.55, -11.56)
CIE-LCHlch(8.17, 12.09, 252.94°)
OKLaboklab(20.67% -0.022 -0.0326)
OKLCHoklch(20.67% 0.039 236.1)
XYZxyz(0.7730, 0.9045, 2.0529)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A27 #271003
analogous
#032722 #031A27 #030827
triadic
#031A27 #27031A #1A2703
tetradic
#031A27 #220327 #271003 #082703
square
#031A27 #220327 #271003 #082703
split-complementary
#031A27 #270308 #272203
monochromatic
#02131C #02131C #031A27 #074060 #0C6699

Accessibility & contrast

On white

17.78
#031A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#031A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031A27
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A27#FFFFFF#000000##FFFFFF
##031A271.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141A28
Deuteranopia (green-blind)
#0F1627
Tritanopia (blue-blind)
#001D1E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031a27;
/* rgb */ color: rgb(3, 26, 39);
/* oklch */ color: oklch(20.7% 0.039 236.1);
Tailwind
colors: {
  custom: {
    50: '#485661',
    500: '#031a27',
    950: '#000000',
  },
}
SCSS
$custom: #031a27;
$custom-light: #485661;
$custom-dark: #000000;
JSON
{
  "hex": "#031a27",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 39
  },
  "hsl": {
    "h": 201.667,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.20667,
    "c": 0.03933,
    "h": 236.1
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#031A27
secondary
#6B381B
accent
#772CFC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010305
muted
#777879

Preview Lab

Preview with #031A27

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

Preview Lab → · Contrast checker → · Palette generator →

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