#31455C#31455C

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

Color values

HEX#31455C
RGBrgb(49, 69, 92)
HSLhsl(212, 30%, 28%)
HSVhsv(212, 47%, 36%)
CMYKcmyk(46.7%, 25%, 0%, 63.9%)
CIE-LABlab(28.59, -0.89, -16.09)
CIE-LCHlch(28.59, 16.11, 266.85°)
OKLaboklab(38.39% -0.0141 -0.0447)
OKLCHoklch(38.39% 0.047 252.5)
XYZxyz(5.3259, 5.6816, 10.9392)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31455C #5C4831
analogous
#315A5C #31455C #33315C
triadic
#31455C #5C3145 #455C31
tetradic
#31455C #5C315A #5C4831 #315C33
square
#31455C #5C315A #5C4831 #315C33
split-complementary
#31455C #5C3331 #5A5C31
monochromatic
#0B0F14 #1C2734 #31455C #466384 #5E81A9

Accessibility & contrast

On white

9.83
#31455C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31455C
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31455C#FFFFFF#000000##FFFFFF
##31455C1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465D
Deuteranopia (green-blind)
#37425C
Tritanopia (blue-blind)
#214A4D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #31455c;
/* rgb */ color: rgb(49, 69, 92);
/* oklch */ color: oklch(38.4% 0.047 252.5);
Tailwind
colors: {
  custom: {
    50: '#6b788a',
    500: '#31455c',
    950: '#000000',
  },
}
SCSS
$custom: #31455c;
$custom-light: #6b788a;
$custom-dark: #000000;
JSON
{
  "hex": "#31455c",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 92
  },
  "hsl": {
    "h": 212.093,
    "s": 30.496,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38387,
    "c": 0.04693,
    "h": 252.5
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#31455C
secondary
#8D765C
accent
#9761C7
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090B
muted
#7A7B7C

Preview Lab

Preview with #31455C

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

Preview Lab → · Contrast checker → · Palette generator →

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