#31455B#31455B

#31455B is a dark, muted cyan. Relative luminance 0.057; OKLCH L 38.3% C 0.045 H 251.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#31455B
RGBrgb(49, 69, 91)
HSLhsl(211, 30%, 27%)
HSVhsv(211, 46%, 36%)
CMYKcmyk(46.2%, 24.2%, 0%, 64.3%)
CIE-LABlab(28.55, -1.21, -15.52)
CIE-LCHlch(28.55, 15.56, 265.54°)
OKLaboklab(38.34% -0.0145 -0.0431)
OKLCHoklch(38.34% 0.045 251.4)
XYZxyz(5.2824, 5.6642, 10.7105)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31455B #5B4731
analogous
#315A5B #31455B #32315B
triadic
#31455B #5B3145 #455B31
tetradic
#31455B #5B315A #5B4731 #315B32
square
#31455B #5B315A #5B4731 #315B32
split-complementary
#31455B #5B3231 #5A5B31
monochromatic
#0B0F14 #1C2733 #31455B #466383 #5E81A8

Accessibility & contrast

On white

9.85
#31455B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#31455B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31455B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31455B#FFFFFF#000000##FFFFFF
##31455B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465C
Deuteranopia (green-blind)
#37415B
Tritanopia (blue-blind)
#214A4C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #31455b;
/* rgb */ color: rgb(49, 69, 91);
/* oklch */ color: oklch(38.3% 0.045 251.4);
Tailwind
colors: {
  custom: {
    50: '#6b7889',
    500: '#31455b',
    950: '#000000',
  },
}
SCSS
$custom: #31455b;
$custom-light: #6b7889;
$custom-dark: #000000;
JSON
{
  "hex": "#31455b",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 91
  },
  "hsl": {
    "h": 211.429,
    "s": 30,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38336,
    "c": 0.04549,
    "h": 251.4
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#31455B
secondary
#8C755C
accent
#9662C6
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090B
muted
#7A7B7C

Preview Lab

Preview with #31455B

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

Preview Lab → · Contrast checker → · Palette generator →

#31455B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva