#031B2C#031B2C

#031B2C is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.3% C 0.045 H 242.4°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#031B2C
RGBrgb(3, 27, 44)
HSLhsl(205, 87%, 9%)
HSVhsv(205, 93%, 17%)
CMYKcmyk(93.2%, 38.6%, 0%, 82.7%)
CIE-LABlab(8.87, -2.03, -14.17)
CIE-LCHlch(8.87, 14.31, 261.83°)
OKLaboklab(21.32% -0.0211 -0.0402)
OKLCHoklch(21.32% 0.045 242.4)
XYZxyz(0.8839, 0.9850, 2.5259)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B2C #2C1403
analogous
#032C29 #031B2C #03072C
triadic
#031B2C #2C031B #1B2C03
tetradic
#031B2C #29032C #2C1403 #072C03
square
#031B2C #29032C #2C1403 #072C03
split-complementary
#031B2C #2C0307 #2C2903
monochromatic
#02121D #02121D #031B2C #073E65 #0B619F

Accessibility & contrast

On white

17.54
#031B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B2C
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B2C#FFFFFF#000000##FFFFFF
##031B2C1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131B2D
Deuteranopia (green-blind)
#0D172C
Tritanopia (blue-blind)
#001F21
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031b2c;
/* rgb */ color: rgb(3, 27, 44);
/* oklch */ color: oklch(21.3% 0.045 242.4);
Tailwind
colors: {
  custom: {
    50: '#4a5765',
    500: '#031b2c',
    950: '#000000',
  },
}
SCSS
$custom: #031b2c;
$custom-light: #4a5765;
$custom-dark: #000000;
JSON
{
  "hex": "#031b2c",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 44
  },
  "hsl": {
    "h": 204.878,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2132,
    "c": 0.04538,
    "h": 242.4
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#031B2C
secondary
#703E1B
accent
#822AFD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #031B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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