#313E60#313E60

#313E60 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.9% C 0.061 H 267.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#313E60
RGBrgb(49, 62, 96)
HSLhsl(223, 32%, 28%)
HSVhsv(223, 49%, 38%)
CMYKcmyk(49%, 35.4%, 0%, 62.4%)
CIE-LABlab(26.57, 5.10, -21.82)
CIE-LCHlch(26.57, 22.41, 283.14°)
OKLaboklab(36.87% -0.0027 -0.0613)
OKLCHoklch(36.87% 0.061 267.4)
XYZxyz(5.0999, 4.9424, 11.7493)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E60 #605331
analogous
#315560 #313E60 #3B3160
triadic
#313E60 #60313E #3E6031
tetradic
#313E60 #603155 #605331 #31603B
square
#313E60 #603155 #605331 #31603B
split-complementary
#313E60 #603B31 #556031
monochromatic
#0A0D14 #1C2437 #313E60 #465889 #5E74AD

Accessibility & contrast

On white

10.56
#313E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#313E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E60
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E60#FFFFFF#000000##FFFFFF
##313E601.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324161
Deuteranopia (green-blind)
#2D3D5F
Tritanopia (blue-blind)
#1F454A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #313e60;
/* rgb */ color: rgb(49, 62, 96);
/* oklch */ color: oklch(36.9% 0.061 267.4);
Tailwind
colors: {
  custom: {
    50: '#6c738d',
    500: '#313e60',
    950: '#000000',
  },
}
SCSS
$custom: #313e60;
$custom-light: #6c738d;
$custom-dark: #000000;
JSON
{
  "hex": "#313e60",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 96
  },
  "hsl": {
    "h": 223.404,
    "s": 32.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36872,
    "c": 0.06133,
    "h": 267.4
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#313E60
secondary
#91825C
accent
#AB5FC9
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #313E60

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

Preview Lab → · Contrast checker → · Palette generator →

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