#313341#313341

#313341 is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.5% C 0.025 H 278.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#313341
RGBrgb(49, 51, 65)
HSLhsl(233, 14%, 22%)
HSVhsv(233, 25%, 25%)
CMYKcmyk(24.6%, 21.5%, 0%, 74.5%)
CIE-LABlab(21.59, 2.80, -9.02)
CIE-LCHlch(21.59, 9.45, 287.24°)
OKLaboklab(32.51% 0.0037 -0.0247)
OKLCHoklch(32.51% 0.025 278.6)
XYZxyz(3.4043, 3.4022, 5.4773)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313341 #413F31
analogous
#313B41 #313341 #373141
triadic
#313341 #413133 #334131
tetradic
#313341 #41313B #413F31 #314137
square
#313341 #41313B #413F31 #314137
split-complementary
#313341 #413731 #3B4131
monochromatic
#0D0E11 #17181E #313341 #4B4E64 #666A87

Accessibility & contrast

On white

12.50
#313341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#313341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313341
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313341#FFFFFF#000000##FFFFFF
##3133411.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3442
Deuteranopia (green-blind)
#2E3341
Tritanopia (blue-blind)
#2D3538
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #313341;
/* rgb */ color: rgb(49, 51, 65);
/* oklch */ color: oklch(32.5% 0.025 278.6);
Tailwind
colors: {
  custom: {
    50: '#696a75',
    500: '#313341',
    950: '#000000',
  },
}
SCSS
$custom: #313341;
$custom-light: #696a75;
$custom-dark: #000000;
JSON
{
  "hex": "#313341",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 65
  },
  "hsl": {
    "h": 232.5,
    "s": 14.035,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32505,
    "c": 0.02495,
    "h": 278.6
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#313341
secondary
#716E5D
accent
#AE71B7
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #313341

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

Preview Lab → · Contrast checker → · Palette generator →

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