#031B28#031B28

#031B28 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.0% C 0.040 H 235.2°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#031B28
RGBrgb(3, 27, 40)
HSLhsl(201, 86%, 8%)
HSVhsv(201, 93%, 16%)
CMYKcmyk(92.5%, 32.5%, 0%, 84.3%)
CIE-LABlab(8.62, -3.89, -11.60)
CIE-LCHlch(8.62, 12.23, 251.46°)
OKLaboklab(21.05% -0.0227 -0.0327)
OKLCHoklch(21.05% 0.04 235.2)
XYZxyz(0.8123, 0.9563, 2.1488)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B28 #281003
analogous
#032822 #031B28 #030828
triadic
#031B28 #28031B #1B2803
tetradic
#031B28 #220328 #281003 #082803
square
#031B28 #220328 #281003 #082803
split-complementary
#031B28 #280308 #282203
monochromatic
#02131C #02131C #031B28 #074161 #0C689A

Accessibility & contrast

On white

17.63
#031B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B28
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B28#FFFFFF#000000##FFFFFF
##031B281.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B29
Deuteranopia (green-blind)
#0F1728
Tritanopia (blue-blind)
#001E1F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031b28;
/* rgb */ color: rgb(3, 27, 40);
/* oklch */ color: oklch(21.0% 0.040 235.2);
Tailwind
colors: {
  custom: {
    50: '#495762',
    500: '#031b28',
    950: '#000000',
  },
}
SCSS
$custom: #031b28;
$custom-light: #495762;
$custom-dark: #000000;
JSON
{
  "hex": "#031b28",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 201.081,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.21047,
    "c": 0.03986,
    "h": 235.2
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#031B28
secondary
#6C371B
accent
#752CFC
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #031B28

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

Preview Lab → · Contrast checker → · Palette generator →

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