#31455E#31455E

#31455E is a dark, muted cyan. Relative luminance 0.057; OKLCH L 38.5% C 0.050 H 254.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#31455E
RGBrgb(49, 69, 94)
HSLhsl(213, 31%, 28%)
HSVhsv(213, 48%, 37%)
CMYKcmyk(47.9%, 26.6%, 0%, 63.1%)
CIE-LABlab(28.69, -0.23, -17.23)
CIE-LCHlch(28.69, 17.23, 269.24°)
OKLaboklab(38.49% -0.0134 -0.048)
OKLCHoklch(38.49% 0.05 254.4)
XYZxyz(5.4145, 5.7170, 11.4057)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31455E #5E4A31
analogous
#315B5E #31455E #33315E
triadic
#31455E #5E3145 #455E31
tetradic
#31455E #5E315B #5E4A31 #315E33
square
#31455E #5E315B #5E4A31 #315E33
split-complementary
#31455E #5E3331 #5B5E31
monochromatic
#0A0F14 #1C2736 #31455E #466386 #5E80AB

Accessibility & contrast

On white

9.80
#31455E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31455E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31455E#FFFFFF#000000##FFFFFF
##31455E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B465F
Deuteranopia (green-blind)
#36425D
Tritanopia (blue-blind)
#1F4B4E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #31455e;
/* rgb */ color: rgb(49, 69, 94);
/* oklch */ color: oklch(38.5% 0.050 254.4);
Tailwind
colors: {
  custom: {
    50: '#6c788b',
    500: '#31455e',
    950: '#000000',
  },
}
SCSS
$custom: #31455e;
$custom-light: #6c788b;
$custom-dark: #000000;
JSON
{
  "hex": "#31455e",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 94
  },
  "hsl": {
    "h": 213.333,
    "s": 31.469,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3849,
    "c": 0.04986,
    "h": 254.4
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#31455E
secondary
#8F785C
accent
#9A60C8
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #31455E

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

Preview Lab → · Contrast checker → · Palette generator →

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