#313455#313455

#313455 is a dark, muted blue. Relative luminance 0.038; OKLCH L 33.8% C 0.058 H 278.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#313455
RGBrgb(49, 52, 85)
HSLhsl(235, 27%, 26%)
HSVhsv(235, 42%, 33%)
CMYKcmyk(42.4%, 38.8%, 0%, 66.7%)
CIE-LABlab(22.88, 8.26, -20.42)
CIE-LCHlch(22.88, 22.02, 292.02°)
OKLaboklab(33.83% 0.0089 -0.0572)
OKLCHoklch(33.83% 0.058 278.8)
XYZxyz(4.1338, 3.7647, 9.1014)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313455 #555231
analogous
#314655 #313455 #403155
triadic
#313455 #553134 #345531
tetradic
#313455 #553146 #555231 #315540
square
#313455 #553146 #555231 #315540
split-complementary
#313455 #554031 #465531
monochromatic
#0B0C13 #1B1C2E #313455 #474C7C #5E64A2

Accessibility & contrast

On white

11.98
#313455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#313455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313455
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313455#FFFFFF#000000##FFFFFF
##3134551.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293856
Deuteranopia (green-blind)
#273554
Tritanopia (blue-blind)
#263A40
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313455;
/* rgb */ color: rgb(49, 52, 85);
/* oklch */ color: oklch(33.8% 0.058 278.8);
Tailwind
colors: {
  custom: {
    50: '#6b6b85',
    500: '#313455',
    950: '#000000',
  },
}
SCSS
$custom: #313455;
$custom-light: #6b6b85;
$custom-dark: #000000;
JSON
{
  "hex": "#313455",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 85
  },
  "hsl": {
    "h": 235,
    "s": 26.866,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33825,
    "c": 0.05792,
    "h": 278.8
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#313455
secondary
#86835C
accent
#BB65C3
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#07060B
muted
#7A7A7C

Preview Lab

Preview with #313455

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

Preview Lab → · Contrast checker → · Palette generator →

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