#3137AB#3137AB

#3137AB is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.181 H 273.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#3137AB
RGBrgb(49, 55, 171)
HSLhsl(237, 55%, 43%)
HSVhsv(237, 71%, 67%)
CMYKcmyk(71.3%, 67.8%, 0%, 32.9%)
CIE-LABlab(30.22, 36.68, -62.61)
CIE-LCHlch(30.22, 72.57, 300.36°)
OKLaboklab(41.35% 0.0095 -0.181)
OKLCHoklch(41.35% 0.181 273)
XYZxyz(9.9810, 6.3246, 39.2150)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137AB #ABA531
analogous
#3174AB #3137AB #6831AB
triadic
#3137AB #AB3137 #37AB31
tetradic
#3137AB #AB3174 #ABA531 #31AB68
square
#3137AB #AB3174 #ABA531 #31AB68
split-complementary
#3137AB #AB6831 #74AB31
monochromatic
#16184C #23287B #3137AB #4D53CC #7D81DA

Accessibility & contrast

On white

9.27
#3137AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3137AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137AB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137AB#FFFFFF#000000##FFFFFF
##3137AB1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3137ab;
/* rgb */ color: rgb(49, 55, 171);
/* oklch */ color: oklch(41.3% 0.181 273.0);
Tailwind
colors: {
  custom: {
    50: '#7b6ec5',
    500: '#3137ab',
    950: '#000000',
  },
}
SCSS
$custom: #3137ab;
$custom-light: #7b6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3137ab",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 237.049,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4135,
    "c": 0.18121,
    "h": 273
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#3137AB
secondary
#C2BF75
accent
#D749DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3137AB

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

Preview Lab → · Contrast checker → · Palette generator →

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