#313552#313552

#313552 is a dark, muted blue. Relative luminance 0.038; OKLCH L 33.9% C 0.051 H 277.3°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#313552
RGBrgb(49, 53, 82)
HSLhsl(233, 25%, 26%)
HSVhsv(233, 40%, 32%)
CMYKcmyk(40.2%, 35.4%, 0%, 67.8%)
CIE-LABlab(23.03, 6.60, -18.20)
CIE-LCHlch(23.03, 19.35, 289.93°)
OKLaboklab(33.89% 0.0065 -0.0508)
OKLCHoklch(33.89% 0.051 277.3)
XYZxyz(4.0623, 3.8082, 8.5020)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313552 #524E31
analogous
#314552 #313552 #3D3152
triadic
#313552 #523135 #355231
tetradic
#313552 #523145 #524E31 #31523D
square
#313552 #523145 #524E31 #31523D
split-complementary
#313552 #523D31 #455231
monochromatic
#0B0C13 #1A1C2C #313552 #484E78 #5F679F

Accessibility & contrast

On white

11.92
#313552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#313552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313552
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313552#FFFFFF#000000##FFFFFF
##3135521.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3853
Deuteranopia (green-blind)
#2A3651
Tritanopia (blue-blind)
#273B3F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313552;
/* rgb */ color: rgb(49, 53, 82);
/* oklch */ color: oklch(33.9% 0.051 277.3);
Tailwind
colors: {
  custom: {
    50: '#6a6c82',
    500: '#313552',
    950: '#000000',
  },
}
SCSS
$custom: #313552;
$custom-light: #6a6c82;
$custom-dark: #000000;
JSON
{
  "hex": "#313552",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 82
  },
  "hsl": {
    "h": 232.727,
    "s": 25.191,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33888,
    "c": 0.05122,
    "h": 277.3
  },
  "luminance": 0.03808
}

Semantic roles & 50–950 ramp

primary
#313552
secondary
#837E5C
accent
#B766C2
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #313552

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

Preview Lab → · Contrast checker → · Palette generator →

#313552 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva