#031827#031827

#031827 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.0% C 0.041 H 241.7°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#031827
RGBrgb(3, 24, 39)
HSLhsl(205, 86%, 8%)
HSVhsv(205, 92%, 15%)
CMYKcmyk(92.3%, 38.5%, 0%, 84.7%)
CIE-LABlab(7.40, -1.97, -12.77)
CIE-LCHlch(7.40, 12.92, 261.22°)
OKLaboklab(20.04% -0.0195 -0.0362)
OKLCHoklch(20.04% 0.041 241.7)
XYZxyz(0.7303, 0.8190, 2.0387)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031827 #271203
analogous
#032724 #031827 #030627
triadic
#031827 #270318 #182703
tetradic
#031827 #240327 #271203 #062703
square
#031827 #240327 #271203 #062703
split-complementary
#031827 #270306 #272403
monochromatic
#02111C #02111C #031827 #073B60 #0C5E99

Accessibility & contrast

On white

18.04
#031827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#031827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031827
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031827#FFFFFF#000000##FFFFFF
##0318271.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111828
Deuteranopia (green-blind)
#0C1527
Tritanopia (blue-blind)
#001C1D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031827;
/* rgb */ color: rgb(3, 24, 39);
/* oklch */ color: oklch(20.0% 0.041 241.7);
Tailwind
colors: {
  custom: {
    50: '#485461',
    500: '#031827',
    950: '#000000',
  },
}
SCSS
$custom: #031827;
$custom-light: #485461;
$custom-dark: #000000;
JSON
{
  "hex": "#031827",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 205,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.20042,
    "c": 0.04117,
    "h": 241.7
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#031827
secondary
#6B3C1B
accent
#832CFC
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010205
muted
#777879

Preview Lab

Preview with #031827

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

Preview Lab → · Contrast checker → · Palette generator →

#031827 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva