#313249#313249

#313249 is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.7% C 0.041 H 282.0°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#313249
RGBrgb(49, 50, 73)
HSLhsl(238, 20%, 24%)
HSVhsv(238, 33%, 29%)
CMYKcmyk(32.9%, 31.5%, 0%, 71.4%)
CIE-LABlab(21.64, 5.84, -14.35)
CIE-LCHlch(21.64, 15.49, 292.16°)
OKLaboklab(32.66% 0.0084 -0.0397)
OKLCHoklch(32.66% 0.041 282)
XYZxyz(3.6095, 3.4151, 6.7710)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313249 #494831
analogous
#313E49 #313249 #3C3149
triadic
#313249 #493132 #324931
tetradic
#313249 #49313E #494831 #31493C
square
#313249 #49313E #494831 #31493C
split-complementary
#313249 #493C31 #3E4931
monochromatic
#0C0D12 #181924 #313249 #4A4B6E #626492

Accessibility & contrast

On white

12.48
#313249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313249
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313249#FFFFFF#000000##FFFFFF
##3132491.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354A
Deuteranopia (green-blind)
#2A3348
Tritanopia (blue-blind)
#2B363A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #313249;
/* rgb */ color: rgb(49, 50, 73);
/* oklch */ color: oklch(32.7% 0.041 282.0);
Tailwind
colors: {
  custom: {
    50: '#6a697b',
    500: '#313249',
    950: '#000000',
  },
}
SCSS
$custom: #313249;
$custom-light: #6a697b;
$custom-dark: #000000;
JSON
{
  "hex": "#313249",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 73
  },
  "hsl": {
    "h": 237.5,
    "s": 19.672,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32662,
    "c": 0.04063,
    "h": 282
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#313249
secondary
#7A785C
accent
#B96CBC
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #313249

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

Preview Lab → · Contrast checker → · Palette generator →

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