#313690#313690

#313690 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.146 H 274.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#313690
RGBrgb(49, 54, 144)
HSLhsl(237, 49%, 38%)
HSVhsv(237, 66%, 56%)
CMYKcmyk(66%, 62.5%, 0%, 43.5%)
CIE-LABlab(27.58, 27.71, -50.51)
CIE-LCHlch(27.58, 57.61, 298.75°)
OKLaboklab(38.69% 0.0123 -0.1455)
OKLCHoklch(38.69% 0.146 274.8)
XYZxyz(7.6182, 5.3043, 27.0025)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313690 #908B31
analogous
#316590 #313690 #5B3190
triadic
#313690 #903136 #369031
tetradic
#313690 #903165 #908B31 #31905B
square
#313690 #903165 #908B31 #31905B
split-complementary
#313690 #905B31 #659031
monochromatic
#121435 #212562 #313690 #4147BE #6E73CE

Accessibility & contrast

On white

10.19
#313690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#313690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313690
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313690#FFFFFF#000000##FFFFFF
##3136901.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #313690;
/* rgb */ color: rgb(49, 54, 144);
/* oklch */ color: oklch(38.7% 0.146 274.8);
Tailwind
colors: {
  custom: {
    50: '#756db1',
    500: '#313690',
    950: '#000000',
  },
}
SCSS
$custom: #313690;
$custom-light: #756db1;
$custom-dark: #000000;
JSON
{
  "hex": "#313690",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 144
  },
  "hsl": {
    "h": 236.842,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38688,
    "c": 0.14601,
    "h": 274.8
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#313690
secondary
#B5B168
accent
#D24FD9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #313690

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

Preview Lab → · Contrast checker → · Palette generator →

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