#313DED#313DED

#313DED is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.9% C 0.255 H 269.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#313DED
RGBrgb(49, 61, 237)
HSLhsl(236, 84%, 56%)
HSVhsv(236, 79%, 93%)
CMYKcmyk(79.3%, 74.3%, 0%, 7.1%)
CIE-LABlab(38.03, 55.40, -88.14)
CIE-LCHlch(38.03, 104.11, 302.15°)
OKLaboklab(48.91% -0.002 -0.2553)
OKLCHoklch(48.91% 0.255 269.5)
XYZxyz(18.2162, 10.1028, 81.0943)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313DED #EDE131
analogous
#319BED #313DED #8331ED
triadic
#313DED #ED313D #3DED31
tetradic
#313DED #ED319B #EDE131 #31ED83
square
#313DED #ED319B #EDE131 #31ED83
split-complementary
#313DED #ED8331 #9BED31
monochromatic
#0D1696 #121ECF #313DED #6972F2 #A2A7F7

Accessibility & contrast

On white

6.95
#313DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#313DED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #313DED
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313DED#FFFFFF#000000##FFFFFF
##313DED1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063F2
Deuteranopia (green-blind)
#0050EA
Tritanopia (blue-blind)
#007193
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #313ded;
/* rgb */ color: rgb(49, 61, 237);
/* oklch */ color: oklch(48.9% 0.255 269.5);
Tailwind
colors: {
  custom: {
    50: '#8a75f4',
    500: '#313ded',
    950: '#000000',
  },
}
SCSS
$custom: #313ded;
$custom-light: #8a75f4;
$custom-dark: #000000;
JSON
{
  "hex": "#313ded",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 237
  },
  "hsl": {
    "h": 236.17,
    "s": 83.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.48905,
    "c": 0.25536,
    "h": 269.5
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

primary
#313DED
secondary
#E4DF96
accent
#ED2EFA
background
#F9F7FF
surface
#F2EDFF
border
#CCC8D7
text
#0E0817
muted
#7E7B85

Preview Lab

Preview with #313DED

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

Preview Lab → · Contrast checker → · Palette generator →

#313DED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva