#3137A1#3137A1

#3137A1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.168 H 273.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#3137A1
RGBrgb(49, 55, 161)
HSLhsl(237, 53%, 41%)
HSVhsv(237, 70%, 63%)
CMYKcmyk(69.6%, 65.8%, 0%, 36.9%)
CIE-LABlab(29.31, 33.15, -58.08)
CIE-LCHlch(29.31, 66.88, 299.72°)
OKLaboklab(40.41% 0.0104 -0.1677)
OKLCHoklch(40.41% 0.168 273.6)
XYZxyz(9.0637, 5.9577, 34.3836)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137A1 #A19B31
analogous
#316FA1 #3137A1 #6331A1
triadic
#3137A1 #A13137 #37A131
tetradic
#3137A1 #A1316F #A19B31 #31A163
square
#3137A1 #A1316F #A19B31 #31A163
split-complementary
#3137A1 #A16331 #6FA131
monochromatic
#141743 #232772 #3137A1 #484FC7 #777CD6

Accessibility & contrast

On white

9.58
#3137A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3137A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137A1
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137A1#FFFFFF#000000##FFFFFF
##3137A11.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3137a1;
/* rgb */ color: rgb(49, 55, 161);
/* oklch */ color: oklch(40.4% 0.168 273.6);
Tailwind
colors: {
  custom: {
    50: '#786ebe',
    500: '#3137a1',
    950: '#000000',
  },
}
SCSS
$custom: #3137a1;
$custom-light: #786ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3137a1",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 161
  },
  "hsl": {
    "h": 236.786,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40407,
    "c": 0.16803,
    "h": 273.6
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#3137A1
secondary
#BEBA70
accent
#D54BDD
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3137A1

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

Preview Lab → · Contrast checker → · Palette generator →

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