#3137C4#3137C4

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

Color values

HEX#3137C4
RGBrgb(49, 55, 196)
HSLhsl(238, 60%, 48%)
HSVhsv(238, 75%, 77%)
CMYKcmyk(75%, 71.9%, 0%, 23.1%)
CIE-LABlab(32.63, 45.27, -73.45)
CIE-LCHlch(32.63, 86.28, 301.65°)
OKLaboklab(43.82% 0.0063 -0.2126)
OKLCHoklch(43.82% 0.213 271.7)
XYZxyz(12.5932, 7.3695, 52.9726)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137C4 #C4BE31
analogous
#3180C4 #3137C4 #7431C4
triadic
#3137C4 #C43137 #37C431
tetradic
#3137C4 #C43180 #C4BE31 #31C474
square
#3137C4 #C43180 #C4BE31 #31C474
split-complementary
#3137C4 #C47431 #80C431
monochromatic
#191C62 #252993 #3137C4 #5C61D6 #8D90E2

Accessibility & contrast

On white

8.49
#3137C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3137C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137C4
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137C4#FFFFFF#000000##FFFFFF
##3137C41.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3137c4;
/* rgb */ color: rgb(49, 55, 196);
/* oklch */ color: oklch(43.8% 0.213 271.7);
Tailwind
colors: {
  custom: {
    50: '#806fd7',
    500: '#3137c4',
    950: '#000000',
  },
}
SCSS
$custom: #3137c4;
$custom-light: #806fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3137c4",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 237.551,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4382,
    "c": 0.21268,
    "h": 271.7
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#3137C4
secondary
#CDCA84
accent
#DD45E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3137C4

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

Preview Lab → · Contrast checker → · Palette generator →

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