#031F30#031F30

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

Color values

HEX#031F30
RGBrgb(3, 31, 48)
HSLhsl(203, 88%, 10%)
HSVhsv(203, 94%, 19%)
CMYKcmyk(93.8%, 35.4%, 0%, 81.2%)
CIE-LABlab(10.65, -3.13, -14.28)
CIE-LCHlch(10.65, 14.62, 257.63°)
OKLaboklab(22.82% -0.0241 -0.0405)
OKLCHoklch(22.82% 0.047 239.3)
XYZxyz(1.0608, 1.2126, 2.9739)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F30 #301403
analogous
#03302B #031F30 #030830
triadic
#031F30 #30031F #1F3003
tetradic
#031F30 #2B0330 #301403 #083003
square
#031F30 #2B0330 #301403 #083003
split-complementary
#031F30 #300308 #302B03
monochromatic
#02131D #02131D #031F30 #07446A #0A69A3

Accessibility & contrast

On white

16.90
#031F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#031F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031F30
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F30#FFFFFF#000000##FFFFFF
##031F301.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F31
Deuteranopia (green-blind)
#101B30
Tritanopia (blue-blind)
#002325
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #031f30;
/* rgb */ color: rgb(3, 31, 48);
/* oklch */ color: oklch(22.8% 0.047 239.3);
Tailwind
colors: {
  custom: {
    50: '#4b5a68',
    500: '#031f30',
    950: '#000000',
  },
}
SCSS
$custom: #031f30;
$custom-light: #4b5a68;
$custom-dark: #000000;
JSON
{
  "hex": "#031f30",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 48
  },
  "hsl": {
    "h": 202.667,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.22815,
    "c": 0.04708,
    "h": 239.3
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #031F30

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

Preview Lab → · Contrast checker → · Palette generator →

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