#3137B9#3137B9

#3137B9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.7% C 0.199 H 272.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3137B9
RGBrgb(49, 55, 185)
HSLhsl(237, 58%, 46%)
HSVhsv(237, 74%, 73%)
CMYKcmyk(73.5%, 70.3%, 0%, 27.5%)
CIE-LABlab(31.55, 41.54, -68.76)
CIE-LCHlch(31.55, 80.33, 301.13°)
OKLaboklab(42.72% 0.0079 -0.1989)
OKLCHoklch(42.72% 0.199 272.3)
XYZxyz(11.3868, 6.8870, 46.6187)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137B9 #B9B331
analogous
#317BB9 #3137B9 #6F31B9
triadic
#3137B9 #B93137 #37B931
tetradic
#3137B9 #B9317B #B9B331 #31B96F
square
#3137B9 #B9317B #B9B331 #31B96F
split-complementary
#3137B9 #B96F31 #7BB931
monochromatic
#171A58 #242989 #3137B9 #555BD2 #868ADF

Accessibility & contrast

On white

8.83
#3137B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3137B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3137B9#FFFFFF#000000##FFFFFF
##3137B91.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3137b9;
/* rgb */ color: rgb(49, 55, 185);
/* oklch */ color: oklch(42.7% 0.199 272.3);
Tailwind
colors: {
  custom: {
    50: '#7e6fcf',
    500: '#3137b9',
    950: '#000000',
  },
}
SCSS
$custom: #3137b9;
$custom-light: #7e6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3137b9",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 237.353,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42715,
    "c": 0.19907,
    "h": 272.3
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#3137B9
secondary
#C8C57D
accent
#DB46E1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3137B9

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

Preview Lab → · Contrast checker → · Palette generator →

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