#3137AA#3137AA

#3137AA is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.180 H 273.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3137AA
RGBrgb(49, 55, 170)
HSLhsl(237, 55%, 43%)
HSVhsv(237, 71%, 67%)
CMYKcmyk(71.2%, 67.6%, 0%, 33.3%)
CIE-LABlab(30.12, 36.33, -62.16)
CIE-LCHlch(30.12, 72.00, 300.30°)
OKLaboklab(41.25% 0.0096 -0.1796)
OKLCHoklch(41.25% 0.18 273.1)
XYZxyz(9.8861, 6.2867, 38.7149)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137AA #AAA431
analogous
#3173AA #3137AA #6831AA
triadic
#3137AA #AA3137 #37AA31
tetradic
#3137AA #AA3173 #AAA431 #31AA68
square
#3137AA #AA3173 #AAA431 #31AA68
split-complementary
#3137AA #AA6831 #73AA31
monochromatic
#16184B #23287A #3137AA #4D53CC #7C81D9

Accessibility & contrast

On white

9.30
#3137AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3137AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3137AA#FFFFFF#000000##FFFFFF
##3137AA1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3137aa;
/* rgb */ color: rgb(49, 55, 170);
/* oklch */ color: oklch(41.3% 0.180 273.1);
Tailwind
colors: {
  custom: {
    50: '#7a6ec4',
    500: '#3137aa',
    950: '#000000',
  },
}
SCSS
$custom: #3137aa;
$custom-light: #7a6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3137aa",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 237.025,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41254,
    "c": 0.17991,
    "h": 273.1
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#3137AA
secondary
#C2BE75
accent
#D749DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3137AA

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

Preview Lab → · Contrast checker → · Palette generator →

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