#31455D#31455D

#31455D is a dark, muted cyan. Relative luminance 0.057; OKLCH L 38.4% C 0.048 H 253.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#31455D
RGBrgb(49, 69, 93)
HSLhsl(213, 31%, 28%)
HSVhsv(213, 47%, 36%)
CMYKcmyk(47.3%, 25.8%, 0%, 63.5%)
CIE-LABlab(28.64, -0.56, -16.66)
CIE-LCHlch(28.64, 16.67, 268.08°)
OKLaboklab(38.44% -0.0138 -0.0464)
OKLCHoklch(38.44% 0.048 253.5)
XYZxyz(5.3699, 5.6992, 11.1709)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31455D #5D4931
analogous
#315B5D #31455D #33315D
triadic
#31455D #5D3145 #455D31
tetradic
#31455D #5D315B #5D4931 #315D33
square
#31455D #5D315B #5D4931 #315D33
split-complementary
#31455D #5D3331 #5B5D31
monochromatic
#0B0F14 #1C2735 #31455D #466385 #5E81AA

Accessibility & contrast

On white

9.81
#31455D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#31455D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31455D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31455D#FFFFFF#000000##FFFFFF
##31455D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465E
Deuteranopia (green-blind)
#37425D
Tritanopia (blue-blind)
#204A4D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #31455d;
/* rgb */ color: rgb(49, 69, 93);
/* oklch */ color: oklch(38.4% 0.048 253.5);
Tailwind
colors: {
  custom: {
    50: '#6b788b',
    500: '#31455d',
    950: '#000000',
  },
}
SCSS
$custom: #31455d;
$custom-light: #6b788b;
$custom-dark: #000000;
JSON
{
  "hex": "#31455d",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 93
  },
  "hsl": {
    "h": 212.727,
    "s": 30.986,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38439,
    "c": 0.04839,
    "h": 253.5
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#31455D
secondary
#8E775C
accent
#9961C7
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #31455D

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

Preview Lab → · Contrast checker → · Palette generator →

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