#3137C5#3137C5

#3137C5 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.9% C 0.214 H 271.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#3137C5
RGBrgb(49, 55, 197)
HSLhsl(238, 60%, 48%)
HSVhsv(238, 75%, 77%)
CMYKcmyk(75.1%, 72.1%, 0%, 22.7%)
CIE-LABlab(32.73, 45.61, -73.87)
CIE-LCHlch(32.73, 86.81, 301.69°)
OKLaboklab(43.92% 0.0062 -0.2138)
OKLCHoklch(43.92% 0.214 271.7)
XYZxyz(12.7074, 7.4152, 53.5741)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137C5 #C5BF31
analogous
#3181C5 #3137C5 #7531C5
triadic
#3137C5 #C53137 #37C531
tetradic
#3137C5 #C53181 #C5BF31 #31C575
square
#3137C5 #C53181 #C5BF31 #31C575
split-complementary
#3137C5 #C57531 #81C531
monochromatic
#191C63 #252994 #3137C5 #5D62D7 #8E91E3

Accessibility & contrast

On white

8.46
#3137C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3137C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137C5
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137C5#FFFFFF#000000##FFFFFF
##3137C51.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#0046C2
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3137c5;
/* rgb */ color: rgb(49, 55, 197);
/* oklch */ color: oklch(43.9% 0.214 271.7);
Tailwind
colors: {
  custom: {
    50: '#816fd8',
    500: '#3137c5',
    950: '#000000',
  },
}
SCSS
$custom: #3137c5;
$custom-light: #816fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3137c5",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 237.568,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43922,
    "c": 0.2139,
    "h": 271.7
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

primary
#3137C5
secondary
#CDCA85
accent
#DD44E3
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3137C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3137C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva