#31485F#31485F

#31485F is a dark, muted cyan. Relative luminance 0.061; OKLCH L 39.3% C 0.049 H 249.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#31485F
RGBrgb(49, 72, 95)
HSLhsl(210, 32%, 28%)
HSVhsv(210, 48%, 37%)
CMYKcmyk(48.4%, 24.2%, 0%, 62.7%)
CIE-LABlab(29.70, -1.85, -16.31)
CIE-LCHlch(29.70, 16.42, 263.54°)
OKLaboklab(39.3% -0.0173 -0.0454)
OKLCHoklch(39.3% 0.049 249.1)
XYZxyz(5.6488, 6.1135, 11.7066)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31485F #5F4831
analogous
#315F5F #31485F #31315F
triadic
#31485F #5F3148 #485F31
tetradic
#31485F #5F315F #5F4831 #315F31
square
#31485F #5F315F #5F4831 #315F31
split-complementary
#31485F #5F3131 #5F5F31
monochromatic
#0A0F14 #1C2937 #31485F #466787 #5E85AC

Accessibility & contrast

On white

9.45
#31485F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#31485F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31485F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31485F#FFFFFF#000000##FFFFFF
##31485F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4960
Deuteranopia (green-blind)
#39445F
Tritanopia (blue-blind)
#1E4D50
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #31485f;
/* rgb */ color: rgb(49, 72, 95);
/* oklch */ color: oklch(39.3% 0.049 249.1);
Tailwind
colors: {
  custom: {
    50: '#6c7a8c',
    500: '#31485f',
    950: '#000000',
  },
}
SCSS
$custom: #31485f;
$custom-light: #6c7a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#31485f",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 95
  },
  "hsl": {
    "h": 210,
    "s": 31.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39299,
    "c": 0.04857,
    "h": 249.1
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#31485F
secondary
#90765C
accent
#9460C8
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #31485F

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

Preview Lab → · Contrast checker → · Palette generator →

#31485F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva