#313683#313683

#313683 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.127 H 275.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#313683
RGBrgb(49, 54, 131)
HSLhsl(236, 46%, 35%)
HSVhsv(236, 63%, 51%)
CMYKcmyk(62.6%, 58.8%, 0%, 48.6%)
CIE-LABlab(26.53, 23.02, -44.15)
CIE-LCHlch(26.53, 49.79, 297.54°)
OKLaboklab(37.58% 0.0124 -0.1268)
OKLCHoklch(37.58% 0.127 275.6)
XYZxyz(6.6812, 4.9295, 22.0677)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313683 #837E31
analogous
#315F83 #313683 #553183
triadic
#313683 #833136 #368331
tetradic
#313683 #83315F #837E31 #318355
square
#313683 #83315F #837E31 #318355
split-complementary
#313683 #835531 #5F8331
monochromatic
#10112A #202456 #313683 #4248B0 #686EC6

Accessibility & contrast

On white

10.57
#313683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#313683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313683
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313683#FFFFFF#000000##FFFFFF
##3136831.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #313683;
/* rgb */ color: rgb(49, 54, 131);
/* oklch */ color: oklch(37.6% 0.127 275.6);
Tailwind
colors: {
  custom: {
    50: '#726da8',
    500: '#313683',
    950: '#000000',
  },
}
SCSS
$custom: #313683;
$custom-light: #726da8;
$custom-dark: #000000;
JSON
{
  "hex": "#313683",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 236.341,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37579,
    "c": 0.1274,
    "h": 275.6
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#313683
secondary
#AEA962
accent
#CD53D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #313683

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

Preview Lab → · Contrast checker → · Palette generator →

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