#3137AD#3137AD

#3137AD is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.184 H 272.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3137AD
RGBrgb(49, 55, 173)
HSLhsl(237, 56%, 44%)
HSVhsv(237, 72%, 68%)
CMYKcmyk(71.7%, 68.2%, 0%, 32.2%)
CIE-LABlab(30.40, 37.38, -63.50)
CIE-LCHlch(30.40, 73.69, 300.48°)
OKLaboklab(41.54% 0.0093 -0.1836)
OKLCHoklch(41.54% 0.184 272.9)
XYZxyz(10.1731, 6.4015, 40.2265)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137AD #ADA731
analogous
#3175AD #3137AD #6931AD
triadic
#3137AD #AD3137 #37AD31
tetradic
#3137AD #AD3175 #ADA731 #31AD69
square
#3137AD #AD3175 #ADA731 #31AD69
split-complementary
#3137AD #AD6931 #75AD31
monochromatic
#16194E #23287D #3137AD #4E54CD #7E82DA

Accessibility & contrast

On white

9.21
#3137AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3137AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137AD
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137AD#FFFFFF#000000##FFFFFF
##3137AD1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3137ad;
/* rgb */ color: rgb(49, 55, 173);
/* oklch */ color: oklch(41.5% 0.184 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b6ec7',
    500: '#3137ad',
    950: '#000000',
  },
}
SCSS
$custom: #3137ad;
$custom-light: #7b6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#3137ad",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 237.097,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41542,
    "c": 0.18381,
    "h": 272.9
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#3137AD
secondary
#C3C077
accent
#D849DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3137AD

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

Preview Lab → · Contrast checker → · Palette generator →

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