#31545F#31545F

#31545F is a dark, muted cyan. Relative luminance 0.078; OKLCH L 42.4% C 0.044 H 220.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#31545F
RGBrgb(49, 84, 95)
HSLhsl(194, 32%, 28%)
HSVhsv(194, 48%, 37%)
CMYKcmyk(48.4%, 11.6%, 0%, 62.7%)
CIE-LABlab(33.60, -9.32, -10.34)
CIE-LCHlch(33.60, 13.92, 227.97°)
OKLaboklab(42.39% -0.034 -0.0285)
OKLCHoklch(42.39% 0.044 220)
XYZxyz(6.5018, 7.8194, 11.9909)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31545F #5F3C31
analogous
#315F53 #31545F #313D5F
triadic
#31545F #5F3154 #545F31
tetradic
#31545F #53315F #5F3C31 #3D5F31
square
#31545F #53315F #5F3C31 #3D5F31
split-complementary
#31545F #5F313D #5F5331
monochromatic
#0A1214 #1C3037 #31545F #467887 #5E99AC

Accessibility & contrast

On white

8.19
#31545F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#31545F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31545F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31545F#FFFFFF#000000##FFFFFF
##31545F1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5260
Deuteranopia (green-blind)
#464D5F
Tritanopia (blue-blind)
#1C5857
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #31545f;
/* rgb */ color: rgb(49, 84, 95);
/* oklch */ color: oklch(42.4% 0.044 220.0);
Tailwind
colors: {
  custom: {
    50: '#6c848c',
    500: '#31545f',
    950: '#000000',
  },
}
SCSS
$custom: #31545f;
$custom-light: #6c848c;
$custom-dark: #000000;
JSON
{
  "hex": "#31545f",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 95
  },
  "hsl": {
    "h": 194.348,
    "s": 31.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.42394,
    "c": 0.04435,
    "h": 220
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

primary
#31545F
secondary
#90685C
accent
#7960C8
background
#F6F8F8
surface
#EBEFF0
border
#C6CACB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #31545F

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

Preview Lab → · Contrast checker → · Palette generator →

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