#313485#313485

#313485 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.133 H 276.2°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#313485
RGBrgb(49, 52, 133)
HSLhsl(238, 46%, 36%)
HSVhsv(238, 63%, 52%)
CMYKcmyk(63.2%, 60.9%, 0%, 47.8%)
CIE-LABlab(26.16, 25.09, -46.00)
CIE-LCHlch(26.16, 52.39, 298.61°)
OKLaboklab(37.35% 0.0145 -0.1322)
OKLCHoklch(37.35% 0.133 276.2)
XYZxyz(6.7269, 4.8019, 22.7581)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313485 #858231
analogous
#315E85 #313485 #583185
triadic
#313485 #853134 #348531
tetradic
#313485 #85315E #858231 #318558
square
#313485 #85315E #858231 #318558
split-complementary
#313485 #855831 #5E8531
monochromatic
#10112C #212358 #313485 #4145B2 #696CC8

Accessibility & contrast

On white

10.71
#313485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#313485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313485
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313485#FFFFFF#000000##FFFFFF
##3134851.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #313485;
/* rgb */ color: rgb(49, 52, 133);
/* oklch */ color: oklch(37.4% 0.133 276.2);
Tailwind
colors: {
  custom: {
    50: '#736ba9',
    500: '#313485',
    950: '#000000',
  },
}
SCSS
$custom: #313485;
$custom-light: #736ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#313485",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 133
  },
  "hsl": {
    "h": 237.857,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37355,
    "c": 0.13304,
    "h": 276.2
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#313485
secondary
#AFAC63
accent
#D152D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #313485

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

Preview Lab → · Contrast checker → · Palette generator →

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