#313085#313085

#313085 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.138 H 277.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#313085
RGBrgb(49, 48, 133)
HSLhsl(241, 47%, 35%)
HSVhsv(241, 64%, 52%)
CMYKcmyk(63.2%, 63.9%, 0%, 47.8%)
CIE-LABlab(25.14, 27.74, -47.67)
CIE-LCHlch(25.14, 55.15, 300.20°)
OKLaboklab(36.6% 0.0183 -0.1372)
OKLCHoklch(36.6% 0.138 277.6)
XYZxyz(6.5558, 4.4598, 22.7011)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313085 #848530
analogous
#305985 #313085 #5B3085
triadic
#313085 #853130 #308531
tetradic
#313085 #853059 #848530 #30855B
square
#313085 #853059 #848530 #30855B
split-complementary
#313085 #855B30 #598530
monochromatic
#10102B #202058 #313085 #4240B2 #6867C8

Accessibility & contrast

On white

11.10
#313085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#313085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313085
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313085#FFFFFF#000000##FFFFFF
##3130851.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #313085;
/* rgb */ color: rgb(49, 48, 133);
/* oklch */ color: oklch(36.6% 0.138 277.6);
Tailwind
colors: {
  custom: {
    50: '#7368a9',
    500: '#313085',
    950: '#000000',
  },
}
SCSS
$custom: #313085;
$custom-light: #7368a9;
$custom-dark: #000000;
JSON
{
  "hex": "#313085",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 240.706,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36599,
    "c": 0.13841,
    "h": 277.6
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#313085
secondary
#AEAF61
accent
#D751D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #313085

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

Preview Lab → · Contrast checker → · Palette generator →

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