#3137B1#3137B1

#3137B1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.189 H 272.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3137B1
RGBrgb(49, 55, 177)
HSLhsl(237, 57%, 44%)
HSVhsv(237, 72%, 69%)
CMYKcmyk(72.3%, 68.9%, 0%, 30.6%)
CIE-LABlab(30.78, 38.78, -65.27)
CIE-LCHlch(30.78, 75.92, 300.71°)
OKLaboklab(41.93% 0.0088 -0.1887)
OKLCHoklch(41.93% 0.189 272.7)
XYZxyz(10.5660, 6.5586, 42.2955)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137B1 #B1AB31
analogous
#3177B1 #3137B1 #6B31B1
triadic
#3137B1 #B13137 #37B131
tetradic
#3137B1 #B13177 #B1AB31 #31B16B
square
#3137B1 #B13177 #B1AB31 #31B16B
split-complementary
#3137B1 #B16B31 #77B131
monochromatic
#161951 #242881 #3137B1 #5156CF #8085DC

Accessibility & contrast

On white

9.08
#3137B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3137B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137B1
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137B1#FFFFFF#000000##FFFFFF
##3137B11.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3137b1;
/* rgb */ color: rgb(49, 55, 177);
/* oklch */ color: oklch(41.9% 0.189 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c6ec9',
    500: '#3137b1',
    950: '#000000',
  },
}
SCSS
$custom: #3137b1;
$custom-light: #7c6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3137b1",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 237.188,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41929,
    "c": 0.18895,
    "h": 272.7
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#3137B1
secondary
#C5C179
accent
#D948E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3137B1

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

Preview Lab → · Contrast checker → · Palette generator →

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