#313592#313592

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

Color values

HEX#313592
RGBrgb(49, 53, 146)
HSLhsl(238, 50%, 38%)
HSVhsv(238, 66%, 57%)
CMYKcmyk(66.4%, 63.7%, 0%, 42.7%)
CIE-LABlab(27.50, 29.09, -51.88)
CIE-LCHlch(27.50, 59.48, 299.28°)
OKLaboklab(38.68% 0.0131 -0.1495)
OKLCHoklch(38.68% 0.15 275)
XYZxyz(7.7263, 5.2738, 27.7993)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313592 #928E31
analogous
#316592 #313592 #5D3192
triadic
#313592 #923135 #359231
tetradic
#313592 #923165 #928E31 #31925D
square
#313592 #923165 #928E31 #31925D
split-complementary
#313592 #925D31 #659231
monochromatic
#121436 #222464 #313592 #4146BF #6F73CF

Accessibility & contrast

On white

10.22
#313592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#313592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313592
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313592#FFFFFF#000000##FFFFFF
##3135921.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #313592;
/* rgb */ color: rgb(49, 53, 146);
/* oklch */ color: oklch(38.7% 0.150 275.0);
Tailwind
colors: {
  custom: {
    50: '#756cb3',
    500: '#313592',
    950: '#000000',
  },
}
SCSS
$custom: #313592;
$custom-light: #756cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#313592",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 146
  },
  "hsl": {
    "h": 237.526,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38679,
    "c": 0.15008,
    "h": 275
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#313592
secondary
#B6B369
accent
#D44FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #313592

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

Preview Lab → · Contrast checker → · Palette generator →

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