#031B26#031B26

#031B26 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.9% C 0.037 H 230.7°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#031B26
RGBrgb(3, 27, 38)
HSLhsl(199, 85%, 8%)
HSVhsv(199, 92%, 15%)
CMYKcmyk(92.1%, 28.9%, 0%, 85.1%)
CIE-LABlab(8.51, -4.75, -10.29)
CIE-LCHlch(8.51, 11.33, 245.20°)
OKLaboklab(20.92% -0.0237 -0.0289)
OKLCHoklch(20.92% 0.037 230.7)
XYZxyz(0.7792, 0.9431, 1.9743)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B26 #260E03
analogous
#03261F #031B26 #030926
triadic
#031B26 #26031B #1B2603
tetradic
#031B26 #1F0326 #260E03 #092603
square
#031B26 #1F0326 #260E03 #092603
split-complementary
#031B26 #260309 #261F03
monochromatic
#02141C #02141C #031B26 #07435F #0C6C97

Accessibility & contrast

On white

17.67
#031B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B26
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B26#FFFFFF#000000##FFFFFF
##031B261.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031b26;
/* rgb */ color: rgb(3, 27, 38);
/* oklch */ color: oklch(20.9% 0.037 230.7);
Tailwind
colors: {
  custom: {
    50: '#485760',
    500: '#031b26',
    950: '#000000',
  },
}
SCSS
$custom: #031b26;
$custom-light: #485760;
$custom-dark: #000000;
JSON
{
  "hex": "#031b26",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 38
  },
  "hsl": {
    "h": 198.857,
    "s": 85.366,
    "l": 8.039
  },
  "oklch": {
    "l": 0.20918,
    "c": 0.03739,
    "h": 230.7
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#031B26
secondary
#6A341B
accent
#6D2CFC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010304
muted
#777879

Preview Lab

Preview with #031B26

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

Preview Lab → · Contrast checker → · Palette generator →

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