#3137BA#3137BA

#3137BA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.8% C 0.200 H 272.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3137BA
RGBrgb(49, 55, 186)
HSLhsl(237, 58%, 46%)
HSVhsv(237, 74%, 73%)
CMYKcmyk(73.7%, 70.4%, 0%, 27.1%)
CIE-LABlab(31.65, 41.88, -69.19)
CIE-LCHlch(31.65, 80.88, 301.19°)
OKLaboklab(42.81% 0.0077 -0.2002)
OKLCHoklch(42.81% 0.2 272.2)
XYZxyz(11.4928, 6.9293, 47.1767)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137BA #BAB431
analogous
#317BBA #3137BA #6F31BA
triadic
#3137BA #BA3137 #37BA31
tetradic
#3137BA #BA317B #BAB431 #31BA6F
square
#3137BA #BA317B #BAB431 #31BA6F
split-complementary
#3137BA #BA6F31 #7BBA31
monochromatic
#171A59 #24298A #3137BA #565BD2 #868ADF

Accessibility & contrast

On white

8.80
#3137BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3137BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137BA
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137BA#FFFFFF#000000##FFFFFF
##3137BA1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0044B8
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3137ba;
/* rgb */ color: rgb(49, 55, 186);
/* oklch */ color: oklch(42.8% 0.200 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e6fd0',
    500: '#3137ba',
    950: '#000000',
  },
}
SCSS
$custom: #3137ba;
$custom-light: #7e6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3137ba",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 237.372,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.20033,
    "h": 272.2
  },
  "luminance": 0.06931
}

Semantic roles & 50–950 ramp

primary
#3137BA
secondary
#C9C67E
accent
#DB46E2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3137BA

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

Preview Lab → · Contrast checker → · Palette generator →

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