#3137AE#3137AE

#3137AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.185 H 272.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3137AE
RGBrgb(49, 55, 174)
HSLhsl(237, 56%, 44%)
HSVhsv(237, 72%, 68%)
CMYKcmyk(71.8%, 68.4%, 0%, 31.8%)
CIE-LABlab(30.50, 37.73, -63.95)
CIE-LCHlch(30.50, 74.25, 300.54°)
OKLaboklab(41.64% 0.0092 -0.1849)
OKLCHoklch(41.64% 0.185 272.8)
XYZxyz(10.2702, 6.4403, 40.7380)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137AE #AEA831
analogous
#3175AE #3137AE #6931AE
triadic
#3137AE #AE3137 #37AE31
tetradic
#3137AE #AE3175 #AEA831 #31AE69
square
#3137AE #AE3175 #AEA831 #31AE69
split-complementary
#3137AE #AE6931 #75AE31
monochromatic
#16194E #24287E #3137AE #4F55CD #7F83DB

Accessibility & contrast

On white

9.18
#3137AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3137AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137AE
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137AE#FFFFFF#000000##FFFFFF
##3137AE1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3137ae;
/* rgb */ color: rgb(49, 55, 174);
/* oklch */ color: oklch(41.6% 0.185 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b6ec7',
    500: '#3137ae',
    950: '#000000',
  },
}
SCSS
$custom: #3137ae;
$custom-light: #7b6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#3137ae",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 237.12,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41638,
    "c": 0.1851,
    "h": 272.8
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#3137AE
secondary
#C4C077
accent
#D848DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3137AE

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

Preview Lab → · Contrast checker → · Palette generator →

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