#3137A5#3137A5

#3137A5 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.173 H 273.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#3137A5
RGBrgb(49, 55, 165)
HSLhsl(237, 54%, 42%)
HSVhsv(237, 70%, 65%)
CMYKcmyk(70.3%, 66.7%, 0%, 35.3%)
CIE-LABlab(29.67, 34.57, -59.91)
CIE-LCHlch(29.67, 69.17, 299.99°)
OKLaboklab(40.78% 0.0101 -0.173)
OKLCHoklch(40.78% 0.173 273.3)
XYZxyz(9.4221, 6.1011, 36.2711)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137A5 #A59F31
analogous
#3171A5 #3137A5 #6531A5
triadic
#3137A5 #A53137 #37A531
tetradic
#3137A5 #A53171 #A59F31 #31A565
square
#3137A5 #A53171 #A59F31 #31A565
split-complementary
#3137A5 #A56531 #71A531
monochromatic
#151847 #232776 #3137A5 #4A51C9 #797ED7

Accessibility & contrast

On white

9.46
#3137A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3137A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137A5
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137A5#FFFFFF#000000##FFFFFF
##3137A51.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3137a5;
/* rgb */ color: rgb(49, 55, 165);
/* oklch */ color: oklch(40.8% 0.173 273.3);
Tailwind
colors: {
  custom: {
    50: '#796ec1',
    500: '#3137a5',
    950: '#000000',
  },
}
SCSS
$custom: #3137a5;
$custom-light: #796ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#3137a5",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 236.897,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4078,
    "c": 0.17334,
    "h": 273.3
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#3137A5
secondary
#C0BC72
accent
#D64ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3137A5

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

Preview Lab → · Contrast checker → · Palette generator →

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