#031B27#031B27

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

Color values

HEX#031B27
RGBrgb(3, 27, 39)
HSLhsl(200, 86%, 8%)
HSVhsv(200, 92%, 15%)
CMYKcmyk(92.3%, 30.8%, 0%, 84.7%)
CIE-LABlab(8.56, -4.33, -10.94)
CIE-LCHlch(8.56, 11.77, 248.42°)
OKLaboklab(20.98% -0.0232 -0.0308)
OKLCHoklch(20.98% 0.039 233)
XYZxyz(0.7955, 0.9496, 2.0604)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B27 #270F03
analogous
#032721 #031B27 #030927
triadic
#031B27 #27031B #1B2703
tetradic
#031B27 #210327 #270F03 #092703
square
#031B27 #210327 #270F03 #092703
split-complementary
#031B27 #270309 #272103
monochromatic
#02141C #02141C #031B27 #074260 #0C6A99

Accessibility & contrast

On white

17.65
#031B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B27
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B27#FFFFFF#000000##FFFFFF
##031B271.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B28
Deuteranopia (green-blind)
#101727
Tritanopia (blue-blind)
#001E1F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031b27;
/* rgb */ color: rgb(3, 27, 39);
/* oklch */ color: oklch(21.0% 0.039 233.0);
Tailwind
colors: {
  custom: {
    50: '#485761',
    500: '#031b27',
    950: '#000000',
  },
}
SCSS
$custom: #031b27;
$custom-light: #485761;
$custom-dark: #000000;
JSON
{
  "hex": "#031b27",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 200,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.20981,
    "c": 0.03859,
    "h": 233
  },
  "luminance": 0.0095
}

Semantic roles & 50–950 ramp

primary
#031B27
secondary
#6B361B
accent
#712CFC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010305
muted
#777879

Preview Lab

Preview with #031B27

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

Preview Lab → · Contrast checker → · Palette generator →

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