#313E65#313E65

#313E65 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.069 H 268.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#313E65
RGBrgb(49, 62, 101)
HSLhsl(225, 35%, 29%)
HSVhsv(225, 51%, 40%)
CMYKcmyk(51.5%, 38.6%, 0%, 60.4%)
CIE-LABlab(26.84, 6.81, -24.62)
CIE-LCHlch(26.84, 25.54, 285.46°)
OKLaboklab(37.17% -0.0013 -0.0694)
OKLCHoklch(37.17% 0.069 268.9)
XYZxyz(5.3375, 5.0375, 13.0005)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E65 #655831
analogous
#315865 #313E65 #3E3165
triadic
#313E65 #65313E #3E6531
tetradic
#313E65 #653158 #655831 #31653E
square
#313E65 #653158 #655831 #31653E
split-complementary
#313E65 #653E31 #586531
monochromatic
#0A0D15 #1D253C #313E65 #45578E #5F74B1

Accessibility & contrast

On white

10.46
#313E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#313E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E65
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E65#FFFFFF#000000##FFFFFF
##313E651.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4267
Deuteranopia (green-blind)
#2A3D64
Tritanopia (blue-blind)
#1C464C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #313e65;
/* rgb */ color: rgb(49, 62, 101);
/* oklch */ color: oklch(37.2% 0.069 268.9);
Tailwind
colors: {
  custom: {
    50: '#6c7391',
    500: '#313e65',
    950: '#000000',
  },
}
SCSS
$custom: #313e65;
$custom-light: #6c7391;
$custom-dark: #000000;
JSON
{
  "hex": "#313e65",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 101
  },
  "hsl": {
    "h": 225,
    "s": 34.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3717,
    "c": 0.06942,
    "h": 268.9
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#313E65
secondary
#96885C
accent
#AF5DCB
background
#F6F6F8
surface
#ECECF0
border
#C7C7CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #313E65

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

Preview Lab → · Contrast checker → · Palette generator →

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