#313D53#313D53

#313D53 is a dark, muted blue. Relative luminance 0.046; OKLCH L 35.9% C 0.042 H 262.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#313D53
RGBrgb(49, 61, 83)
HSLhsl(219, 26%, 26%)
HSVhsv(219, 41%, 33%)
CMYKcmyk(41%, 26.5%, 0%, 67.5%)
CIE-LABlab(25.61, 1.49, -14.85)
CIE-LCHlch(25.61, 14.92, 275.72°)
OKLaboklab(35.91% -0.0056 -0.0412)
OKLCHoklch(35.91% 0.042 262.3)
XYZxyz(4.4962, 4.6148, 8.8358)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D53 #534731
analogous
#314E53 #313D53 #363153
triadic
#313D53 #53313D #3D5331
tetradic
#313D53 #53314E #534731 #315336
square
#313D53 #53314E #534731 #315336
split-complementary
#313D53 #533631 #4E5331
monochromatic
#0B0E13 #1A212D #313D53 #485979 #5E76A0

Accessibility & contrast

On white

10.92
#313D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#313D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D53
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D53#FFFFFF#000000##FFFFFF
##313D531.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E54
Deuteranopia (green-blind)
#323B53
Tritanopia (blue-blind)
#264245
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #313d53;
/* rgb */ color: rgb(49, 61, 83);
/* oklch */ color: oklch(35.9% 0.042 262.3);
Tailwind
colors: {
  custom: {
    50: '#6a7283',
    500: '#313d53',
    950: '#000000',
  },
}
SCSS
$custom: #313d53;
$custom-light: #6a7283;
$custom-dark: #000000;
JSON
{
  "hex": "#313d53",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 83
  },
  "hsl": {
    "h": 218.824,
    "s": 25.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3591,
    "c": 0.04159,
    "h": 262.3
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#313D53
secondary
#84765C
accent
#A266C2
background
#F6F6F8
surface
#EBECEF
border
#C6C7CA
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #313D53

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

Preview Lab → · Contrast checker → · Palette generator →

#313D53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva