#3137BE#3137BE

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

Color values

HEX#3137BE
RGBrgb(49, 55, 190)
HSLhsl(237, 59%, 47%)
HSVhsv(237, 74%, 75%)
CMYKcmyk(74.2%, 71.1%, 0%, 25.5%)
CIE-LABlab(32.04, 43.24, -70.91)
CIE-LCHlch(32.04, 83.05, 301.38°)
OKLaboklab(43.21% 0.0072 -0.2052)
OKLCHoklch(43.21% 0.205 272)
XYZxyz(11.9239, 7.1018, 49.4476)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137BE #BEB831
analogous
#317EBE #3137BE #7231BE
triadic
#3137BE #BE3137 #37BE31
tetradic
#3137BE #BE317E #BEB831 #31BE72
square
#3137BE #BE317E #BEB831 #31BE72
split-complementary
#3137BE #BE7231 #7EBE31
monochromatic
#181B5D #24298D #3137BE #585DD4 #898DE1

Accessibility & contrast

On white

8.68
#3137BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3137BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137BE
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137BE#FFFFFF#000000##FFFFFF
##3137BE1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C2
Deuteranopia (green-blind)
#0045BC
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3137be;
/* rgb */ color: rgb(49, 55, 190);
/* oklch */ color: oklch(43.2% 0.205 272.0);
Tailwind
colors: {
  custom: {
    50: '#7f6fd3',
    500: '#3137be',
    950: '#000000',
  },
}
SCSS
$custom: #3137be;
$custom-light: #7f6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3137be",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 237.447,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43214,
    "c": 0.20531,
    "h": 272
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#3137BE
secondary
#CAC780
accent
#DC46E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3137BE

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

Preview Lab → · Contrast checker → · Palette generator →

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