#031B2F#031B2F

#031B2F is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.5% C 0.050 H 246.4°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#031B2F
RGBrgb(3, 27, 47)
HSLhsl(207, 88%, 10%)
HSVhsv(207, 94%, 18%)
CMYKcmyk(93.6%, 42.6%, 0%, 81.6%)
CIE-LABlab(9.06, -0.60, -16.06)
CIE-LCHlch(9.06, 16.07, 267.85°)
OKLaboklab(21.54% -0.0199 -0.0457)
OKLCHoklch(21.54% 0.05 246.4)
XYZxyz(0.9424, 1.0083, 2.8337)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B2F #2F1703
analogous
#032F2D #031B2F #03052F
triadic
#031B2F #2F031B #1B2F03
tetradic
#031B2F #2D032F #2F1703 #052F03
square
#031B2F #2D032F #2F1703 #052F03
split-complementary
#031B2F #2F0305 #2F2D03
monochromatic
#02111D #02111D #031B2F #073C69 #0A5DA2

Accessibility & contrast

On white

17.48
#031B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B2F
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B2F#FFFFFF#000000##FFFFFF
##031B2F1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C30
Deuteranopia (green-blind)
#0B182F
Tritanopia (blue-blind)
#002022
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #031b2f;
/* rgb */ color: rgb(3, 27, 47);
/* oklch */ color: oklch(21.5% 0.050 246.4);
Tailwind
colors: {
  custom: {
    50: '#4a5667',
    500: '#031b2f',
    950: '#000000',
  },
}
SCSS
$custom: #031b2f;
$custom-light: #4a5667;
$custom-dark: #000000;
JSON
{
  "hex": "#031b2f",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 207.273,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21538,
    "c": 0.04989,
    "h": 246.4
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#031B2F
secondary
#73431B
accent
#8A2AFE
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #031B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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