#3137B2#3137B2

#3137B2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.190 H 272.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3137B2
RGBrgb(49, 55, 178)
HSLhsl(237, 57%, 45%)
HSVhsv(237, 72%, 70%)
CMYKcmyk(72.5%, 69.1%, 0%, 30.2%)
CIE-LABlab(30.88, 39.12, -65.71)
CIE-LCHlch(30.88, 76.48, 300.77°)
OKLaboklab(42.03% 0.0087 -0.19)
OKLCHoklch(42.03% 0.19 272.6)
XYZxyz(10.6660, 6.5986, 42.8224)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137B2 #B2AC31
analogous
#3178B2 #3137B2 #6B31B2
triadic
#3137B2 #B23137 #37B231
tetradic
#3137B2 #B23178 #B2AC31 #31B26B
square
#3137B2 #B23178 #B2AC31 #31B26B
split-complementary
#3137B2 #B26B31 #78B231
monochromatic
#171952 #242882 #3137B2 #5157CF #8185DC

Accessibility & contrast

On white

9.05
#3137B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3137B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137B2
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137B2#FFFFFF#000000##FFFFFF
##3137B21.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3137b2;
/* rgb */ color: rgb(49, 55, 178);
/* oklch */ color: oklch(42.0% 0.190 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c6eca',
    500: '#3137b2',
    950: '#000000',
  },
}
SCSS
$custom: #3137b2;
$custom-light: #7c6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3137b2",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 237.209,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42026,
    "c": 0.19023,
    "h": 272.6
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#3137B2
secondary
#C5C279
accent
#D948E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3137B2

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

Preview Lab → · Contrast checker → · Palette generator →

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