#3731BF#3731BF

#3731BF is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.8% C 0.211 H 274.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3731BF
RGBrgb(55, 49, 191)
HSLhsl(243, 59%, 47%)
HSVhsv(243, 74%, 75%)
CMYKcmyk(71.2%, 74.3%, 0%, 25.1%)
CIE-LABlab(31.28, 47.58, -72.74)
CIE-LCHlch(31.28, 86.92, 303.19°)
OKLaboklab(42.8% 0.0171 -0.2103)
OKLCHoklch(42.8% 0.211 274.6)
XYZxyz(12.0747, 6.7693, 49.9504)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731BF #B9BF31
analogous
#3172BF #3731BF #7E31BF
triadic
#3731BF #BF3731 #31BF37
tetradic
#3731BF #BF3172 #B9BF31 #31BF7E
square
#3731BF #BF3172 #B9BF31 #31BF7E
split-complementary
#3731BF #BF7E31 #72BF31
monochromatic
#1B185E #29258E #3731BF #5E59D4 #8D8AE1

Accessibility & contrast

On white

8.92
#3731BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3731BF
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3731BF#FFFFFF#000000##FFFFFF
##3731BF1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C3
Deuteranopia (green-blind)
#0043BC
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3731bf;
/* rgb */ color: rgb(55, 49, 191);
/* oklch */ color: oklch(42.8% 0.211 274.6);
Tailwind
colors: {
  custom: {
    50: '#826bd4',
    500: '#3731bf',
    950: '#000000',
  },
}
SCSS
$custom: #3731bf;
$custom-light: #826bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3731bf",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 242.535,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42798,
    "c": 0.21104,
    "h": 274.6
  },
  "luminance": 0.0677
}

Semantic roles & 50–950 ramp

primary
#3731BF
secondary
#C8CB81
accent
#E245DC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3731BF

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

Preview Lab → · Contrast checker → · Palette generator →

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