#031F38#031F38

#031F38 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.4% C 0.059 H 248.9°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#031F38
RGBrgb(3, 31, 56)
HSLhsl(208, 90%, 12%)
HSVhsv(208, 95%, 22%)
CMYKcmyk(94.6%, 44.6%, 0%, 78%)
CIE-LABlab(11.17, 0.64, -19.22)
CIE-LCHlch(11.17, 19.23, 271.90°)
OKLaboklab(23.39% -0.0212 -0.0549)
OKLCHoklch(23.39% 0.059 248.9)
XYZxyz(1.2411, 1.2847, 3.9232)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F38 #381C03
analogous
#033837 #031F38 #030438
triadic
#031F38 #38031F #1F3803
tetradic
#031F38 #370338 #381C03 #043803
square
#031F38 #370338 #381C03 #043803
split-complementary
#031F38 #380304 #383703
monochromatic
#02101D #02101D #031F38 #063F72 #095FAC

Accessibility & contrast

On white

16.71
#031F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#031F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031F38
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F38#FFFFFF#000000##FFFFFF
##031F381.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132039
Deuteranopia (green-blind)
#0A1C38
Tritanopia (blue-blind)
#002528
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #031f38;
/* rgb */ color: rgb(3, 31, 56);
/* oklch */ color: oklch(23.4% 0.059 248.9);
Tailwind
colors: {
  custom: {
    50: '#4d5a6f',
    500: '#031f38',
    950: '#000000',
  },
}
SCSS
$custom: #031f38;
$custom-light: #4d5a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#031f38",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 208.302,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23393,
    "c": 0.05883,
    "h": 248.9
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#031F38
secondary
#7B491C
accent
#8E29FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #031F38

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

Preview Lab → · Contrast checker → · Palette generator →

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