#031C2D#031C2D

#031C2D is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.7% C 0.046 H 241.5°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#031C2D
RGBrgb(3, 28, 45)
HSLhsl(204, 88%, 9%)
HSVhsv(204, 93%, 18%)
CMYKcmyk(93.3%, 37.8%, 0%, 82.4%)
CIE-LABlab(9.31, -2.31, -14.20)
CIE-LCHlch(9.31, 14.38, 260.76°)
OKLaboklab(21.7% -0.0218 -0.0403)
OKLCHoklch(21.7% 0.046 241.5)
XYZxyz(0.9263, 1.0392, 2.6339)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C2D #2D1403
analogous
#032D29 #031C2D #03072D
triadic
#031C2D #2D031C #1C2D03
tetradic
#031C2D #29032D #2D1403 #072D03
square
#031C2D #29032D #2D1403 #072D03
split-complementary
#031C2D #2D0307 #2D2903
monochromatic
#02121D #02121D #031C2D #074066 #0B63A0

Accessibility & contrast

On white

17.39
#031C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#031C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031C2D
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C2D#FFFFFF#000000##FFFFFF
##031C2D1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2E
Deuteranopia (green-blind)
#0E182D
Tritanopia (blue-blind)
#002022
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #031c2d;
/* rgb */ color: rgb(3, 28, 45);
/* oklch */ color: oklch(21.7% 0.046 241.5);
Tailwind
colors: {
  custom: {
    50: '#4a5766',
    500: '#031c2d',
    950: '#000000',
  },
}
SCSS
$custom: #031c2d;
$custom-light: #4a5766;
$custom-dark: #000000;
JSON
{
  "hex": "#031c2d",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 45
  },
  "hsl": {
    "h": 204.286,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21695,
    "c": 0.04581,
    "h": 241.5
  },
  "luminance": 0.01039
}

Semantic roles & 50–950 ramp

primary
#031C2D
secondary
#713E1B
accent
#802AFE
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #031C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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