#3137BB#3137BB

#3137BB is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 42.9% C 0.202 H 272.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3137BB
RGBrgb(49, 55, 187)
HSLhsl(237, 58%, 46%)
HSVhsv(237, 74%, 73%)
CMYKcmyk(73.8%, 70.6%, 0%, 26.7%)
CIE-LABlab(31.74, 42.22, -69.62)
CIE-LCHlch(31.74, 81.42, 301.23°)
OKLaboklab(42.91% 0.0076 -0.2014)
OKLCHoklch(42.91% 0.202 272.2)
XYZxyz(11.5994, 6.9720, 47.7385)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137BB #BBB531
analogous
#317CBB #3137BB #7031BB
triadic
#3137BB #BB3137 #37BB31
tetradic
#3137BB #BB317C #BBB531 #31BB70
square
#3137BB #BB317C #BBB531 #31BB70
split-complementary
#3137BB #BB7031 #7CBB31
monochromatic
#181A5A #24298B #3137BB #565CD3 #878BE0

Accessibility & contrast

On white

8.77
#3137BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3137BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137BB
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137BB#FFFFFF#000000##FFFFFF
##3137BB1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0044B9
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3137bb;
/* rgb */ color: rgb(49, 55, 187);
/* oklch */ color: oklch(42.9% 0.202 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e6fd1',
    500: '#3137bb',
    950: '#000000',
  },
}
SCSS
$custom: #3137bb;
$custom-light: #7e6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3137bb",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 237.391,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42914,
    "c": 0.20158,
    "h": 272.2
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#3137BB
secondary
#C9C67F
accent
#DB46E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3137BB

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

Preview Lab → · Contrast checker → · Palette generator →

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