#031C27#031C27

#031C27 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.3% C 0.038 H 229.9°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#031C27
RGBrgb(3, 28, 39)
HSLhsl(198, 86%, 8%)
HSVhsv(198, 92%, 15%)
CMYKcmyk(92.3%, 28.2%, 0%, 84.7%)
CIE-LABlab(8.96, -5.08, -10.33)
CIE-LCHlch(8.96, 11.51, 243.82°)
OKLaboklab(21.3% -0.0244 -0.029)
OKLCHoklch(21.3% 0.038 229.9)
XYZxyz(0.8189, 0.9963, 2.0682)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C27 #270E03
analogous
#032720 #031C27 #030A27
triadic
#031C27 #27031C #1C2703
tetradic
#031C27 #200327 #270E03 #0A2703
square
#031C27 #200327 #270E03 #0A2703
split-complementary
#031C27 #27030A #272003
monochromatic
#02141C #02141C #031C27 #074560 #0C6E99

Accessibility & contrast

On white

17.51
#031C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#031C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031C27
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C27#FFFFFF#000000##FFFFFF
##031C271.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161B28
Deuteranopia (green-blind)
#111827
Tritanopia (blue-blind)
#001F20
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031c27;
/* rgb */ color: rgb(3, 28, 39);
/* oklch */ color: oklch(21.3% 0.038 229.9);
Tailwind
colors: {
  custom: {
    50: '#485861',
    500: '#031c27',
    950: '#000000',
  },
}
SCSS
$custom: #031c27;
$custom-light: #485861;
$custom-dark: #000000;
JSON
{
  "hex": "#031c27",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 39
  },
  "hsl": {
    "h": 198.333,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.21297,
    "c": 0.03797,
    "h": 229.9
  },
  "luminance": 0.00996
}

Semantic roles & 50–950 ramp

primary
#031C27
secondary
#6B331B
accent
#6B2CFC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010305
muted
#777879

Preview Lab

Preview with #031C27

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

Preview Lab → · Contrast checker → · Palette generator →

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