#313650#313650

#313650 is a dark, muted blue. Relative luminance 0.039; OKLCH L 34.0% C 0.046 H 275.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#313650
RGBrgb(49, 54, 80)
HSLhsl(230, 24%, 25%)
HSVhsv(230, 39%, 31%)
CMYKcmyk(38.8%, 32.5%, 0%, 68.6%)
CIE-LABlab(23.24, 5.27, -16.54)
CIE-LCHlch(23.24, 17.36, 287.67°)
OKLaboklab(34.02% 0.0043 -0.046)
OKLCHoklch(34.02% 0.046 275.3)
XYZxyz(4.0333, 3.8703, 8.1224)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313650 #504B31
analogous
#314550 #313650 #3B3150
triadic
#313650 #503136 #365031
tetradic
#313650 #503145 #504B31 #31503B
square
#313650 #503145 #504B31 #31503B
split-complementary
#313650 #503B31 #455031
monochromatic
#0C0D13 #1A1C2A #313650 #485076 #5F699C

Accessibility & contrast

On white

11.84
#313650 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#313650 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313650
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313650#FFFFFF#000000##FFFFFF
##3136501.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3951
Deuteranopia (green-blind)
#2C364F
Tritanopia (blue-blind)
#283B3F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313650;
/* rgb */ color: rgb(49, 54, 80);
/* oklch */ color: oklch(34.0% 0.046 275.3);
Tailwind
colors: {
  custom: {
    50: '#6a6c81',
    500: '#313650',
    950: '#000000',
  },
}
SCSS
$custom: #313650;
$custom-light: #6a6c81;
$custom-dark: #000000;
JSON
{
  "hex": "#313650",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 80
  },
  "hsl": {
    "h": 230.323,
    "s": 24.031,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34017,
    "c": 0.04624,
    "h": 275.3
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#313650
secondary
#817B5C
accent
#B267C0
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #313650

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

Preview Lab → · Contrast checker → · Palette generator →

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