#31465E#31465E

#31465E is a dark, muted cyan. Relative luminance 0.058; OKLCH L 38.7% C 0.049 H 252.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#31465E
RGBrgb(49, 70, 94)
HSLhsl(212, 31%, 28%)
HSVhsv(212, 48%, 37%)
CMYKcmyk(47.9%, 25.5%, 0%, 63.1%)
CIE-LABlab(29.01, -0.88, -16.74)
CIE-LCHlch(29.01, 16.76, 266.99°)
OKLaboklab(38.74% -0.0148 -0.0466)
OKLCHoklch(38.74% 0.049 252.4)
XYZxyz(5.4765, 5.8411, 11.4264)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31465E #5E4931
analogous
#315C5E #31465E #32315E
triadic
#31465E #5E3146 #465E31
tetradic
#31465E #5E315C #5E4931 #315E32
square
#31465E #5E315C #5E4931 #315E32
split-complementary
#31465E #5E3231 #5C5E31
monochromatic
#0A0F14 #1C2836 #31465E #466486 #5E82AB

Accessibility & contrast

On white

9.69
#31465E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#31465E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31465E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31465E#FFFFFF#000000##FFFFFF
##31465E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475F
Deuteranopia (green-blind)
#37425E
Tritanopia (blue-blind)
#1F4B4E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #31465e;
/* rgb */ color: rgb(49, 70, 94);
/* oklch */ color: oklch(38.7% 0.049 252.4);
Tailwind
colors: {
  custom: {
    50: '#6c798b',
    500: '#31465e',
    950: '#000000',
  },
}
SCSS
$custom: #31465e;
$custom-light: #6c798b;
$custom-dark: #000000;
JSON
{
  "hex": "#31465e",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 94
  },
  "hsl": {
    "h": 212,
    "s": 31.469,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38742,
    "c": 0.0489,
    "h": 252.4
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#31465E
secondary
#8F775C
accent
#9760C8
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #31465E

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

Preview Lab → · Contrast checker → · Palette generator →

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