#313463#313463

#313463 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.081 H 278.5°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#313463
RGBrgb(49, 52, 99)
HSLhsl(236, 34%, 29%)
HSVhsv(236, 51%, 39%)
CMYKcmyk(50.5%, 47.5%, 0%, 61.2%)
CIE-LABlab(23.70, 12.99, -28.30)
CIE-LCHlch(23.70, 31.13, 294.65°)
OKLaboklab(34.73% 0.012 -0.0802)
OKLCHoklch(34.73% 0.081 278.5)
XYZxyz(4.7461, 4.0096, 12.3258)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313463 #636031
analogous
#314D63 #313463 #473163
triadic
#313463 #633134 #346331
tetradic
#313463 #63314D #636031 #316347
square
#313463 #63314D #636031 #316347
split-complementary
#313463 #634731 #4D6331
monochromatic
#0A0B14 #1D1E3A #313463 #454A8C #5F64B0

Accessibility & contrast

On white

11.65
#313463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#313463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313463
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313463#FFFFFF#000000##FFFFFF
##3134631.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213A65
Deuteranopia (green-blind)
#1D3762
Tritanopia (blue-blind)
#1F3E46
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313463;
/* rgb */ color: rgb(49, 52, 99);
/* oklch */ color: oklch(34.7% 0.081 278.5);
Tailwind
colors: {
  custom: {
    50: '#6d6b90',
    500: '#313463',
    950: '#000000',
  },
}
SCSS
$custom: #313463;
$custom-light: #6d6b90;
$custom-dark: #000000;
JSON
{
  "hex": "#313463",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 99
  },
  "hsl": {
    "h": 236.4,
    "s": 33.784,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34725,
    "c": 0.08112,
    "h": 278.5
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#313463
secondary
#94915C
accent
#C35ECA
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #313463

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

Preview Lab → · Contrast checker → · Palette generator →

#313463 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva