#31445F#31445F

#31445F is a dark, muted blue. Relative luminance 0.056; OKLCH L 38.3% C 0.052 H 257.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#31445F
RGBrgb(49, 68, 95)
HSLhsl(215, 32%, 28%)
HSVhsv(215, 48%, 37%)
CMYKcmyk(48.4%, 28.4%, 0%, 62.7%)
CIE-LABlab(28.41, 0.76, -18.30)
CIE-LCHlch(28.41, 18.31, 272.37°)
OKLaboklab(38.29% -0.0116 -0.0511)
OKLCHoklch(38.29% 0.052 257.2)
XYZxyz(5.3986, 5.6131, 11.6232)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31445F #5F4C31
analogous
#315B5F #31445F #35315F
triadic
#31445F #5F3144 #445F31
tetradic
#31445F #5F315B #5F4C31 #315F35
square
#31445F #5F315B #5F4C31 #315F35
split-complementary
#31445F #5F3531 #5B5F31
monochromatic
#0A0E14 #1C2737 #31445F #466187 #5E7EAC

Accessibility & contrast

On white

9.89
#31445F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#31445F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31445F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31445F#FFFFFF#000000##FFFFFF
##31445F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4560
Deuteranopia (green-blind)
#34415E
Tritanopia (blue-blind)
#1F4A4D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #31445f;
/* rgb */ color: rgb(49, 68, 95);
/* oklch */ color: oklch(38.3% 0.052 257.2);
Tailwind
colors: {
  custom: {
    50: '#6c778c',
    500: '#31445f',
    950: '#000000',
  },
}
SCSS
$custom: #31445f;
$custom-light: #6c778c;
$custom-dark: #000000;
JSON
{
  "hex": "#31445f",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 95
  },
  "hsl": {
    "h": 215.217,
    "s": 31.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38292,
    "c": 0.05239,
    "h": 257.2
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#31445F
secondary
#907A5C
accent
#9D60C8
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #31445F

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

Preview Lab → · Contrast checker → · Palette generator →

#31445F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva