#3137B3#3137B3

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

Color values

HEX#3137B3
RGBrgb(49, 55, 179)
HSLhsl(237, 57%, 45%)
HSVhsv(237, 73%, 70%)
CMYKcmyk(72.6%, 69.3%, 0%, 29.8%)
CIE-LABlab(30.97, 39.47, -66.15)
CIE-LCHlch(30.97, 77.03, 300.82°)
OKLaboklab(42.12% 0.0086 -0.1913)
OKLCHoklch(42.12% 0.192 272.6)
XYZxyz(10.7668, 6.6389, 43.3531)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137B3 #B3AD31
analogous
#3178B3 #3137B3 #6C31B3
triadic
#3137B3 #B33137 #37B331
tetradic
#3137B3 #B33178 #B3AD31 #31B36C
square
#3137B3 #B33178 #B3AD31 #31B36C
split-complementary
#3137B3 #B36C31 #78B331
monochromatic
#171953 #242883 #3137B3 #5257D0 #8286DD

Accessibility & contrast

On white

9.02
#3137B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3137B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3137B3#FFFFFF#000000##FFFFFF
##3137B31.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3137b3;
/* rgb */ color: rgb(49, 55, 179);
/* oklch */ color: oklch(42.1% 0.192 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d6ecb',
    500: '#3137b3',
    950: '#000000',
  },
}
SCSS
$custom: #3137b3;
$custom-light: #7d6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3137b3",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 237.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42124,
    "c": 0.1915,
    "h": 272.6
  },
  "luminance": 0.0664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3137B3

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

Preview Lab → · Contrast checker → · Palette generator →

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