#313248#313248

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

Color values

HEX#313248
RGBrgb(49, 50, 72)
HSLhsl(237, 19%, 24%)
HSVhsv(237, 32%, 28%)
CMYKcmyk(31.9%, 30.6%, 0%, 71.8%)
CIE-LABlab(21.59, 5.54, -13.75)
CIE-LCHlch(21.59, 14.82, 291.94°)
OKLaboklab(32.61% 0.0081 -0.038)
OKLCHoklch(32.61% 0.039 282)
XYZxyz(3.5766, 3.4020, 6.5978)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313248 #484731
analogous
#313D48 #313248 #3B3148
triadic
#313248 #483132 #324831
tetradic
#313248 #48313D #484731 #31483B
square
#313248 #48313D #484731 #31483B
split-complementary
#313248 #483B31 #3D4831
monochromatic
#0C0D12 #181924 #313248 #4A4B6C #636591

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##313248#FFFFFF#000000##FFFFFF
##3132481.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)
#2C3549
Deuteranopia (green-blind)
#2B3347
Tritanopia (blue-blind)
#2B363A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #313248;
/* rgb */ color: rgb(49, 50, 72);
/* oklch */ color: oklch(32.6% 0.039 282.0);
Tailwind
colors: {
  custom: {
    50: '#69697b',
    500: '#313248',
    950: '#000000',
  },
}
SCSS
$custom: #313248;
$custom-light: #69697b;
$custom-dark: #000000;
JSON
{
  "hex": "#313248",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 72
  },
  "hsl": {
    "h": 237.391,
    "s": 19.008,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32609,
    "c": 0.03889,
    "h": 282
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#313248
secondary
#79775C
accent
#B86CBC
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #313248

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

Preview Lab → · Contrast checker → · Palette generator →

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