#3137A4#3137A4

#3137A4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.172 H 273.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#3137A4
RGBrgb(49, 55, 164)
HSLhsl(237, 54%, 42%)
HSVhsv(237, 70%, 64%)
CMYKcmyk(70.1%, 66.5%, 0%, 35.7%)
CIE-LABlab(29.58, 34.21, -59.45)
CIE-LCHlch(29.58, 68.60, 299.92°)
OKLaboklab(40.69% 0.0102 -0.1717)
OKLCHoklch(40.69% 0.172 273.4)
XYZxyz(9.3314, 6.0648, 35.7936)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137A4 #A49E31
analogous
#3171A4 #3137A4 #6531A4
triadic
#3137A4 #A43137 #37A431
tetradic
#3137A4 #A43171 #A49E31 #31A465
square
#3137A4 #A43171 #A49E31 #31A465
split-complementary
#3137A4 #A46531 #71A431
monochromatic
#151746 #232775 #3137A4 #4950C9 #797DD7

Accessibility & contrast

On white

9.49
#3137A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3137A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137A4
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137A4#FFFFFF#000000##FFFFFF
##3137A41.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3137a4;
/* rgb */ color: rgb(49, 55, 164);
/* oklch */ color: oklch(40.7% 0.172 273.4);
Tailwind
colors: {
  custom: {
    50: '#796ec0',
    500: '#3137a4',
    950: '#000000',
  },
}
SCSS
$custom: #3137a4;
$custom-light: #796ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#3137a4",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 236.87,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40687,
    "c": 0.17202,
    "h": 273.4
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#3137A4
secondary
#BFBB72
accent
#D64ADD
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3137A4

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

Preview Lab → · Contrast checker → · Palette generator →

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