#3137B5#3137B5

#3137B5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.194 H 272.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#3137B5
RGBrgb(49, 55, 181)
HSLhsl(237, 57%, 45%)
HSVhsv(237, 73%, 71%)
CMYKcmyk(72.9%, 69.6%, 0%, 29%)
CIE-LABlab(31.16, 40.16, -67.03)
CIE-LCHlch(31.16, 78.14, 300.93°)
OKLaboklab(42.32% 0.0084 -0.1939)
OKLCHoklch(42.32% 0.194 272.5)
XYZxyz(10.9705, 6.7204, 44.4261)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137B5 #B5AF31
analogous
#3179B5 #3137B5 #6D31B5
triadic
#3137B5 #B53137 #37B531
tetradic
#3137B5 #B53179 #B5AF31 #31B56D
square
#3137B5 #B53179 #B5AF31 #31B56D
split-complementary
#3137B5 #B56D31 #79B531
monochromatic
#171A55 #242885 #3137B5 #5359D0 #8387DD

Accessibility & contrast

On white

8.96
#3137B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3137B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137B5
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137B5#FFFFFF#000000##FFFFFF
##3137B51.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3137b5;
/* rgb */ color: rgb(49, 55, 181);
/* oklch */ color: oklch(42.3% 0.194 272.5);
Tailwind
colors: {
  custom: {
    50: '#7d6ecc',
    500: '#3137b5',
    950: '#000000',
  },
}
SCSS
$custom: #3137b5;
$custom-light: #7d6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3137b5",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 237.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4232,
    "c": 0.19404,
    "h": 272.5
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3137B5

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

Preview Lab → · Contrast checker → · Palette generator →

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