#313C69#313C69

#313C69 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.079 H 271.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#313C69
RGBrgb(49, 60, 105)
HSLhsl(228, 36%, 30%)
HSVhsv(228, 53%, 41%)
CMYKcmyk(53.3%, 42.9%, 0%, 58.8%)
CIE-LABlab(26.46, 9.57, -27.79)
CIE-LCHlch(26.46, 29.39, 289.00°)
OKLaboklab(36.95% 0.0024 -0.0787)
OKLCHoklch(36.95% 0.079 271.7)
XYZxyz(5.4315, 4.9043, 14.0223)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C69 #695E31
analogous
#315869 #313C69 #423169
triadic
#313C69 #69313C #3C6931
tetradic
#313C69 #693158 #695E31 #316942
square
#313C69 #693158 #695E31 #316942
split-complementary
#313C69 #694231 #586931
monochromatic
#0A0C16 #1E243F #313C69 #445493 #6070B5

Accessibility & contrast

On white

10.60
#313C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#313C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313C69
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C69#FFFFFF#000000##FFFFFF
##313C691.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A416B
Deuteranopia (green-blind)
#243C68
Tritanopia (blue-blind)
#19464D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #313c69;
/* rgb */ color: rgb(49, 60, 105);
/* oklch */ color: oklch(37.0% 0.079 271.7);
Tailwind
colors: {
  custom: {
    50: '#6d7194',
    500: '#313c69',
    950: '#000000',
  },
}
SCSS
$custom: #313c69;
$custom-light: #6d7194;
$custom-dark: #000000;
JSON
{
  "hex": "#313c69",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 105
  },
  "hsl": {
    "h": 228.214,
    "s": 36.364,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36952,
    "c": 0.07872,
    "h": 271.7
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#313C69
secondary
#9A8E5C
accent
#B65BCC
background
#F6F6F9
surface
#ECECF1
border
#C7C7CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #313C69

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

Preview Lab → · Contrast checker → · Palette generator →

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