#313D60#313D60

#313D60 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.6% C 0.063 H 268.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#313D60
RGBrgb(49, 61, 96)
HSLhsl(225, 32%, 28%)
HSVhsv(225, 49%, 38%)
CMYKcmyk(49%, 36.5%, 0%, 62.4%)
CIE-LABlab(26.26, 5.77, -22.31)
CIE-LCHlch(26.26, 23.04, 284.50°)
OKLaboklab(36.63% -0.0013 -0.0627)
OKLCHoklch(36.63% 0.063 268.8)
XYZxyz(5.0460, 4.8347, 11.7314)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D60 #605431
analogous
#315460 #313D60 #3C3160
triadic
#313D60 #60313D #3D6031
tetradic
#313D60 #603154 #605431 #31603C
square
#313D60 #603154 #605431 #31603C
split-complementary
#313D60 #603C31 #546031
monochromatic
#0A0D14 #1C2337 #313D60 #465789 #5E72AD

Accessibility & contrast

On white

10.68
#313D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#313D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D60
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D60#FFFFFF#000000##FFFFFF
##313D601.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304061
Deuteranopia (green-blind)
#2C3C5F
Tritanopia (blue-blind)
#1F444A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #313d60;
/* rgb */ color: rgb(49, 61, 96);
/* oklch */ color: oklch(36.6% 0.063 268.8);
Tailwind
colors: {
  custom: {
    50: '#6c728d',
    500: '#313d60',
    950: '#000000',
  },
}
SCSS
$custom: #313d60;
$custom-light: #6c728d;
$custom-dark: #000000;
JSON
{
  "hex": "#313d60",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 96
  },
  "hsl": {
    "h": 224.681,
    "s": 32.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3663,
    "c": 0.0627,
    "h": 268.8
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#313D60
secondary
#91845C
accent
#AE5FC9
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07070C
muted
#7A7A7D

Preview Lab

Preview with #313D60

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

Preview Lab → · Contrast checker → · Palette generator →

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