#31495F#31495F

#31495F is a dark, muted cyan. Relative luminance 0.062; OKLCH L 39.6% C 0.048 H 247.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#31495F
RGBrgb(49, 73, 95)
HSLhsl(209, 32%, 28%)
HSVhsv(209, 48%, 37%)
CMYKcmyk(48.4%, 23.2%, 0%, 62.7%)
CIE-LABlab(30.02, -2.49, -15.82)
CIE-LCHlch(30.02, 16.01, 261.06°)
OKLaboklab(39.55% -0.0187 -0.044)
OKLCHoklch(39.55% 0.048 247)
XYZxyz(5.7140, 6.2439, 11.7283)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31495F #5F4731
analogous
#315F5E #31495F #31325F
triadic
#31495F #5F3149 #495F31
tetradic
#31495F #5E315F #5F4731 #325F31
square
#31495F #5E315F #5F4731 #325F31
split-complementary
#31495F #5F3132 #5F5E31
monochromatic
#0A1014 #1C2A37 #31495F #466887 #5E87AC

Accessibility & contrast

On white

9.34
#31495F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#31495F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31495F
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31495F#FFFFFF#000000##FFFFFF
##31495F1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404960
Deuteranopia (green-blind)
#3A455F
Tritanopia (blue-blind)
#1E4E50
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #31495f;
/* rgb */ color: rgb(49, 73, 95);
/* oklch */ color: oklch(39.6% 0.048 247.0);
Tailwind
colors: {
  custom: {
    50: '#6c7b8c',
    500: '#31495f',
    950: '#000000',
  },
}
SCSS
$custom: #31495f;
$custom-light: #6c7b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#31495f",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 95
  },
  "hsl": {
    "h": 208.696,
    "s": 31.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39553,
    "c": 0.04778,
    "h": 247
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#31495F
secondary
#90755C
accent
#9260C8
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #31495F

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

Preview Lab → · Contrast checker → · Palette generator →

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