#3137BF#3137BF

#3137BF is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.3% C 0.207 H 272.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3137BF
RGBrgb(49, 55, 191)
HSLhsl(237, 59%, 47%)
HSVhsv(237, 74%, 75%)
CMYKcmyk(74.3%, 71.2%, 0%, 25.1%)
CIE-LABlab(32.14, 43.58, -71.33)
CIE-LCHlch(32.14, 83.59, 301.42°)
OKLaboklab(43.31% 0.007 -0.2064)
OKLCHoklch(43.31% 0.207 272)
XYZxyz(12.0336, 7.1457, 50.0252)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137BF #BFB931
analogous
#317EBF #3137BF #7231BF
triadic
#3137BF #BF3137 #37BF31
tetradic
#3137BF #BF317E #BFB931 #31BF72
square
#3137BF #BF317E #BFB931 #31BF72
split-complementary
#3137BF #BF7231 #7EBF31
monochromatic
#181B5E #25298E #3137BF #595ED4 #8A8DE1

Accessibility & contrast

On white

8.64
#3137BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3137BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137BF
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137BF#FFFFFF#000000##FFFFFF
##3137BF1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#0045BD
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3137bf;
/* rgb */ color: rgb(49, 55, 191);
/* oklch */ color: oklch(43.3% 0.207 272.0);
Tailwind
colors: {
  custom: {
    50: '#7f6fd4',
    500: '#3137bf',
    950: '#000000',
  },
}
SCSS
$custom: #3137bf;
$custom-light: #7f6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3137bf",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 237.465,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43314,
    "c": 0.20654,
    "h": 272
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#3137BF
secondary
#CBC881
accent
#DC45E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3137BF

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

Preview Lab → · Contrast checker → · Palette generator →

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