#3137A2#3137A2

#3137A2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.169 H 273.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#3137A2
RGBrgb(49, 55, 162)
HSLhsl(237, 54%, 41%)
HSVhsv(237, 70%, 64%)
CMYKcmyk(69.8%, 66%, 0%, 36.5%)
CIE-LABlab(29.39, 33.51, -58.54)
CIE-LCHlch(29.39, 67.45, 299.78°)
OKLaboklab(40.5% 0.0104 -0.169)
OKLCHoklch(40.5% 0.169 273.5)
XYZxyz(9.1522, 5.9931, 34.8499)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137A2 #A29C31
analogous
#3170A2 #3137A2 #6431A2
triadic
#3137A2 #A23137 #37A231
tetradic
#3137A2 #A23170 #A29C31 #31A264
square
#3137A2 #A23170 #A29C31 #31A264
split-complementary
#3137A2 #A26431 #70A231
monochromatic
#151744 #232773 #3137A2 #484FC8 #777CD6

Accessibility & contrast

On white

9.55
#3137A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3137A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137A2
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137A2#FFFFFF#000000##FFFFFF
##3137A21.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3137a2;
/* rgb */ color: rgb(49, 55, 162);
/* oklch */ color: oklch(40.5% 0.169 273.5);
Tailwind
colors: {
  custom: {
    50: '#796ebe',
    500: '#3137a2',
    950: '#000000',
  },
}
SCSS
$custom: #3137a2;
$custom-light: #796ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3137a2",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 236.814,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.405,
    "c": 0.16936,
    "h": 273.5
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3137A2

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

Preview Lab → · Contrast checker → · Palette generator →

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