#3137B0#3137B0

#3137B0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.188 H 272.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3137B0
RGBrgb(49, 55, 176)
HSLhsl(237, 56%, 44%)
HSVhsv(237, 72%, 69%)
CMYKcmyk(72.2%, 68.8%, 0%, 31%)
CIE-LABlab(30.69, 38.43, -64.83)
CIE-LCHlch(30.69, 75.37, 300.66°)
OKLaboklab(41.83% 0.009 -0.1874)
OKLCHoklch(41.83% 0.188 272.7)
XYZxyz(10.4667, 6.5189, 41.7725)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137B0 #B0AA31
analogous
#3177B0 #3137B0 #6B31B0
triadic
#3137B0 #B03137 #37B031
tetradic
#3137B0 #B03177 #B0AA31 #31B06B
square
#3137B0 #B03177 #B0AA31 #31B06B
split-complementary
#3137B0 #B06B31 #77B031
monochromatic
#161950 #242880 #3137B0 #5056CE #8084DC

Accessibility & contrast

On white

9.11
#3137B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3137B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137B0
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137B0#FFFFFF#000000##FFFFFF
##3137B01.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3137b0;
/* rgb */ color: rgb(49, 55, 176);
/* oklch */ color: oklch(41.8% 0.188 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c6ec9',
    500: '#3137b0',
    950: '#000000',
  },
}
SCSS
$custom: #3137b0;
$custom-light: #7c6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3137b0",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 237.165,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41831,
    "c": 0.18766,
    "h": 272.7
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3137B0

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

Preview Lab → · Contrast checker → · Palette generator →

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