#313D69#313D69

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

Color values

HEX#313D69
RGBrgb(49, 61, 105)
HSLhsl(227, 36%, 30%)
HSVhsv(227, 53%, 41%)
CMYKcmyk(53.3%, 41.9%, 0%, 58.8%)
CIE-LABlab(26.76, 8.89, -27.31)
CIE-LCHlch(26.76, 28.72, 288.02°)
OKLaboklab(37.19% 0.001 -0.0773)
OKLCHoklch(37.19% 0.077 270.7)
XYZxyz(5.4843, 5.0100, 14.0399)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D69 #695D31
analogous
#315969 #313D69 #413169
triadic
#313D69 #69313D #3D6931
tetradic
#313D69 #693159 #695D31 #316941
square
#313D69 #693159 #695D31 #316941
split-complementary
#313D69 #694131 #596931
monochromatic
#0A0D16 #1E253F #313D69 #445593 #6072B5

Accessibility & contrast

On white

10.49
#313D69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#313D69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D69
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D69#FFFFFF#000000##FFFFFF
##313D691.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C426B
Deuteranopia (green-blind)
#263D68
Tritanopia (blue-blind)
#19464E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #313d69;
/* rgb */ color: rgb(49, 61, 105);
/* oklch */ color: oklch(37.2% 0.077 270.7);
Tailwind
colors: {
  custom: {
    50: '#6d7294',
    500: '#313d69',
    950: '#000000',
  },
}
SCSS
$custom: #313d69;
$custom-light: #6d7294;
$custom-dark: #000000;
JSON
{
  "hex": "#313d69",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 105
  },
  "hsl": {
    "h": 227.143,
    "s": 36.364,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37185,
    "c": 0.07728,
    "h": 270.7
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#313D69
secondary
#9A8D5C
accent
#B45BCC
background
#F6F6F9
surface
#ECECF1
border
#C7C7CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #313D69

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

Preview Lab → · Contrast checker → · Palette generator →

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