#3137E2#3137E2

#3137E2 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.9% C 0.248 H 270.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3137E2
RGBrgb(49, 55, 226)
HSLhsl(238, 75%, 54%)
HSVhsv(238, 78%, 89%)
CMYKcmyk(78.3%, 75.7%, 0%, 11.4%)
CIE-LABlab(35.74, 55.08, -85.67)
CIE-LCHlch(35.74, 101.85, 302.74°)
OKLaboklab(46.95% 0.0016 -0.2481)
OKLCHoklch(46.95% 0.248 270.4)
XYZxyz(16.3556, 8.8745, 72.7877)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137E2 #E2DC31
analogous
#3190E2 #3137E2 #8431E2
triadic
#3137E2 #E23137 #37E231
tetradic
#3137E2 #E23190 #E2DC31 #31E284
square
#3137E2 #E23190 #E2DC31 #31E284
split-complementary
#3137E2 #E28431 #90E231
monochromatic
#131786 #1A20BB #3137E2 #676BEA #9C9FF1

Accessibility & contrast

On white

7.57
#3137E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3137E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137E2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137E2#FFFFFF#000000##FFFFFF
##3137E21.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE7
Deuteranopia (green-blind)
#004BDF
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3137e2;
/* rgb */ color: rgb(49, 55, 226);
/* oklch */ color: oklch(46.9% 0.248 270.4);
Tailwind
colors: {
  custom: {
    50: '#8870ed',
    500: '#3137e2',
    950: '#000000',
  },
}
SCSS
$custom: #3137e2;
$custom-light: #8870ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3137e2",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 226
  },
  "hsl": {
    "h": 237.966,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.46947,
    "c": 0.24811,
    "h": 270.4
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#3137E2
secondary
#DDDB92
accent
#EC36F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3137E2

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

Preview Lab → · Contrast checker → · Palette generator →

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