#031E2F#031E2F

#031E2F is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.4% C 0.047 H 240.0°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#031E2F
RGBrgb(3, 30, 47)
HSLhsl(203, 88%, 10%)
HSVhsv(203, 94%, 18%)
CMYKcmyk(93.6%, 36.2%, 0%, 81.6%)
CIE-LABlab(10.21, -2.86, -14.25)
CIE-LCHlch(10.21, 14.54, 258.65°)
OKLaboklab(22.44% -0.0233 -0.0404)
OKLCHoklch(22.44% 0.047 240)
XYZxyz(1.0147, 1.1530, 2.8578)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031E2F #2F1403
analogous
#032F2A #031E2F #03082F
triadic
#031E2F #2F031E #1E2F03
tetradic
#031E2F #2A032F #2F1403 #082F03
square
#031E2F #2A032F #2F1403 #082F03
split-complementary
#031E2F #2F0308 #2F2A03
monochromatic
#02121D #02121D #031E2F #074369 #0A67A2

Accessibility & contrast

On white

17.06
#031E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#031E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031E2F
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031E2F#FFFFFF#000000##FFFFFF
##031E2F1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E30
Deuteranopia (green-blind)
#101A2F
Tritanopia (blue-blind)
#002224
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #031e2f;
/* rgb */ color: rgb(3, 30, 47);
/* oklch */ color: oklch(22.4% 0.047 240.0);
Tailwind
colors: {
  custom: {
    50: '#4b5967',
    500: '#031e2f',
    950: '#000000',
  },
}
SCSS
$custom: #031e2f;
$custom-light: #4b5967;
$custom-dark: #000000;
JSON
{
  "hex": "#031e2f",
  "rgb": {
    "r": 3,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 203.182,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.22443,
    "c": 0.04665,
    "h": 240
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#031E2F
secondary
#733D1B
accent
#7C2AFE
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #031E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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