#313B65#313B65

#313B65 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.074 H 272.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#313B65
RGBrgb(49, 59, 101)
HSLhsl(228, 35%, 29%)
HSVhsv(228, 51%, 40%)
CMYKcmyk(51.5%, 41.6%, 0%, 60.4%)
CIE-LABlab(25.92, 8.85, -26.07)
CIE-LCHlch(25.92, 27.53, 288.76°)
OKLaboklab(36.46% 0.0028 -0.0737)
OKLCHoklch(36.46% 0.074 272.2)
XYZxyz(5.1788, 4.7202, 12.9476)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B65 #655B31
analogous
#315565 #313B65 #413165
triadic
#313B65 #65313B #3B6531
tetradic
#313B65 #653155 #655B31 #316541
square
#313B65 #653155 #655B31 #316541
split-complementary
#313B65 #654131 #556531
monochromatic
#0A0C15 #1D233C #313B65 #45538E #5F6FB1

Accessibility & contrast

On white

10.80
#313B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#313B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313B65
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B65#FFFFFF#000000##FFFFFF
##313B651.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4067
Deuteranopia (green-blind)
#263B64
Tritanopia (blue-blind)
#1C444B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #313b65;
/* rgb */ color: rgb(49, 59, 101);
/* oklch */ color: oklch(36.5% 0.074 272.2);
Tailwind
colors: {
  custom: {
    50: '#6d7091',
    500: '#313b65',
    950: '#000000',
  },
}
SCSS
$custom: #313b65;
$custom-light: #6d7091;
$custom-dark: #000000;
JSON
{
  "hex": "#313b65",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 101
  },
  "hsl": {
    "h": 228.462,
    "s": 34.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36462,
    "c": 0.07371,
    "h": 272.2
  },
  "luminance": 0.0472
}

Semantic roles & 50–950 ramp

primary
#313B65
secondary
#968B5C
accent
#B65DCB
background
#F6F6F8
surface
#ECECF0
border
#C7C7CB
text
#07070C
muted
#7A7A7D

Preview Lab

Preview with #313B65

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

Preview Lab → · Contrast checker → · Palette generator →

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