#031F36#031F36

#031F36 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.2% C 0.056 H 247.0°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#031F36
RGBrgb(3, 31, 54)
HSLhsl(207, 89%, 11%)
HSVhsv(207, 94%, 21%)
CMYKcmyk(94.4%, 42.6%, 0%, 78.8%)
CIE-LABlab(11.03, -0.31, -18.00)
CIE-LCHlch(11.03, 18.00, 269.00°)
OKLaboklab(23.24% -0.0218 -0.0513)
OKLCHoklch(23.24% 0.056 247)
XYZxyz(1.1931, 1.2655, 3.6707)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F36 #361A03
analogous
#033633 #031F36 #030536
triadic
#031F36 #36031F #1F3603
tetradic
#031F36 #330336 #361A03 #053603
square
#031F36 #330336 #361A03 #053603
split-complementary
#031F36 #360305 #363303
monochromatic
#02111D #02111D #031F36 #064070 #0962AA

Accessibility & contrast

On white

16.76
#031F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#031F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031F36
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F36#FFFFFF#000000##FFFFFF
##031F361.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142037
Deuteranopia (green-blind)
#0C1B36
Tritanopia (blue-blind)
#002527
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #031f36;
/* rgb */ color: rgb(3, 31, 54);
/* oklch */ color: oklch(23.2% 0.056 247.0);
Tailwind
colors: {
  custom: {
    50: '#4d5a6d',
    500: '#031f36',
    950: '#000000',
  },
}
SCSS
$custom: #031f36;
$custom-light: #4d5a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#031f36",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 54
  },
  "hsl": {
    "h": 207.059,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23242,
    "c": 0.05578,
    "h": 247
  },
  "luminance": 0.01266
}

Semantic roles & 50–950 ramp

primary
#031F36
secondary
#79461C
accent
#8929FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #031F36

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

Preview Lab → · Contrast checker → · Palette generator →

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