#3137A3#3137A3

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

Color values

HEX#3137A3
RGBrgb(49, 55, 163)
HSLhsl(237, 54%, 42%)
HSVhsv(237, 70%, 64%)
CMYKcmyk(69.9%, 66.3%, 0%, 36.1%)
CIE-LABlab(29.48, 33.86, -59.00)
CIE-LCHlch(29.48, 68.02, 299.85°)
OKLaboklab(40.59% 0.0103 -0.1704)
OKLCHoklch(40.59% 0.171 273.5)
XYZxyz(9.2415, 6.0288, 35.3199)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137A3 #A39D31
analogous
#3170A3 #3137A3 #6431A3
triadic
#3137A3 #A33137 #37A331
tetradic
#3137A3 #A33170 #A39D31 #31A364
square
#3137A3 #A33170 #A39D31 #31A364
split-complementary
#3137A3 #A36431 #70A331
monochromatic
#151745 #232774 #3137A3 #4950C8 #787DD6

Accessibility & contrast

On white

9.52
#3137A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3137A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3137A3#FFFFFF#000000##FFFFFF
##3137A31.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3137a3;
/* rgb */ color: rgb(49, 55, 163);
/* oklch */ color: oklch(40.6% 0.171 273.5);
Tailwind
colors: {
  custom: {
    50: '#796ebf',
    500: '#3137a3',
    950: '#000000',
  },
}
SCSS
$custom: #3137a3;
$custom-light: #796ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#3137a3",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 236.842,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40593,
    "c": 0.17069,
    "h": 273.5
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3137A3

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

Preview Lab → · Contrast checker → · Palette generator →

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