#031F34#031F34

#031F34 is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 23.1% C 0.053 H 244.7°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#031F34
RGBrgb(3, 31, 52)
HSLhsl(206, 89%, 11%)
HSVhsv(206, 94%, 20%)
CMYKcmyk(94.2%, 40.4%, 0%, 79.6%)
CIE-LABlab(10.90, -1.26, -16.77)
CIE-LCHlch(10.90, 16.82, 265.70°)
OKLaboklab(23.1% -0.0225 -0.0477)
OKLCHoklch(23.1% 0.053 244.7)
XYZxyz(1.1471, 1.2471, 3.4284)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F34 #341803
analogous
#033430 #031F34 #030734
triadic
#031F34 #34031F #1F3403
tetradic
#031F34 #300334 #341803 #073403
square
#031F34 #300334 #341803 #073403
split-complementary
#031F34 #340307 #343003
monochromatic
#02111D #02111D #031F34 #06416E #0A64A8

Accessibility & contrast

On white

16.81
#031F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F34
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F34#FFFFFF#000000##FFFFFF
##031F341.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152035
Deuteranopia (green-blind)
#0E1B34
Tritanopia (blue-blind)
#002427
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #031f34;
/* rgb */ color: rgb(3, 31, 52);
/* oklch */ color: oklch(23.1% 0.053 244.7);
Tailwind
colors: {
  custom: {
    50: '#4c5a6b',
    500: '#031f34',
    950: '#000000',
  },
}
SCSS
$custom: #031f34;
$custom-light: #4c5a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#031f34",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 52
  },
  "hsl": {
    "h": 205.714,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.23095,
    "c": 0.05279,
    "h": 244.7
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#031F34
secondary
#77431C
accent
#8529FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #031F34

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

Preview Lab → · Contrast checker → · Palette generator →

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