#3731BE#3731BE

#3731BE is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.7% C 0.210 H 274.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#3731BE
RGBrgb(55, 49, 190)
HSLhsl(243, 59%, 47%)
HSVhsv(243, 74%, 75%)
CMYKcmyk(71.1%, 74.2%, 0%, 25.5%)
CIE-LABlab(31.17, 47.26, -72.32)
CIE-LCHlch(31.17, 86.39, 303.16°)
OKLaboklab(42.7% 0.0173 -0.2091)
OKLCHoklch(42.7% 0.21 274.7)
XYZxyz(11.9650, 6.7254, 49.3728)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731BE #B8BE31
analogous
#3172BE #3731BE #7E31BE
triadic
#3731BE #BE3731 #31BE37
tetradic
#3731BE #BE3172 #B8BE31 #31BE7E
square
#3731BE #BE3172 #B8BE31 #31BE7E
split-complementary
#3731BE #BE7E31 #72BE31
monochromatic
#1B185D #29248D #3731BE #5D58D4 #8D89E1

Accessibility & contrast

On white

8.95
#3731BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3731BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3731BE
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3731BE#FFFFFF#000000##FFFFFF
##3731BE1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C2
Deuteranopia (green-blind)
#0043BB
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3731be;
/* rgb */ color: rgb(55, 49, 190);
/* oklch */ color: oklch(42.7% 0.210 274.7);
Tailwind
colors: {
  custom: {
    50: '#826bd3',
    500: '#3731be',
    950: '#000000',
  },
}
SCSS
$custom: #3731be;
$custom-light: #826bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3731be",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 242.553,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42695,
    "c": 0.20984,
    "h": 274.7
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#3731BE
secondary
#C7CA80
accent
#E246DC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3731BE

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

Preview Lab → · Contrast checker → · Palette generator →

#3731BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva