#3137B6#3137B6

#3137B6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.195 H 272.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3137B6
RGBrgb(49, 55, 182)
HSLhsl(237, 58%, 45%)
HSVhsv(237, 73%, 71%)
CMYKcmyk(73.1%, 69.8%, 0%, 28.6%)
CIE-LABlab(31.26, 40.51, -67.46)
CIE-LCHlch(31.26, 78.69, 300.98°)
OKLaboklab(42.42% 0.0082 -0.1951)
OKLCHoklch(42.42% 0.195 272.4)
XYZxyz(11.0735, 6.7616, 44.9684)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137B6 #B6B031
analogous
#317AB6 #3137B6 #6D31B6
triadic
#3137B6 #B63137 #37B631
tetradic
#3137B6 #B6317A #B6B031 #31B66D
square
#3137B6 #B6317A #B6B031 #31B66D
split-complementary
#3137B6 #B66D31 #7AB631
monochromatic
#171A56 #242886 #3137B6 #5359D1 #8488DE

Accessibility & contrast

On white

8.93
#3137B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3137B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137B6
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137B6#FFFFFF#000000##FFFFFF
##3137B61.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0043B4
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3137b6;
/* rgb */ color: rgb(49, 55, 182);
/* oklch */ color: oklch(42.4% 0.195 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d6ecd',
    500: '#3137b6',
    950: '#000000',
  },
}
SCSS
$custom: #3137b6;
$custom-light: #7d6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3137b6",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 237.293,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42418,
    "c": 0.1953,
    "h": 272.4
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#3137B6
secondary
#C7C47C
accent
#DA47E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3137B6

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

Preview Lab → · Contrast checker → · Palette generator →

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