#3731DA#3731DA

#3731DA is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.6% C 0.243 H 272.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3731DA
RGBrgb(55, 49, 218)
HSLhsl(242, 70%, 52%)
HSVhsv(242, 78%, 85%)
CMYKcmyk(74.8%, 77.5%, 0%, 14.5%)
CIE-LABlab(34.13, 56.07, -83.74)
CIE-LCHlch(34.13, 100.78, 303.81°)
OKLaboklab(45.65% 0.0116 -0.2423)
OKLCHoklch(45.65% 0.243 272.7)
XYZxyz(15.3245, 8.0692, 67.0659)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731DA #D4DA31
analogous
#3180DA #3731DA #8B31DA
triadic
#3731DA #DA3731 #31DA37
tetradic
#3731DA #DA3180 #D4DA31 #31DA8B
square
#3731DA #DA3180 #D4DA31 #31DA8B
split-complementary
#3731DA #DA8B31 #80DA31
monochromatic
#1A167B #241FAE #3731DA #6965E3 #9C99ED

Accessibility & contrast

On white

8.03
#3731DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3731DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3731DA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3731DA#FFFFFF#000000##FFFFFF
##3731DA1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058DF
Deuteranopia (green-blind)
#0048D7
Tritanopia (blue-blind)
#006585
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3731da;
/* rgb */ color: rgb(55, 49, 218);
/* oklch */ color: oklch(45.6% 0.243 272.7);
Tailwind
colors: {
  custom: {
    50: '#886de7',
    500: '#3731da',
    950: '#000000',
  },
}
SCSS
$custom: #3731da;
$custom-light: #886de7;
$custom-dark: #000000;
JSON
{
  "hex": "#3731da",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 218
  },
  "hsl": {
    "h": 242.13,
    "s": 69.547,
    "l": 52.353
  },
  "oklch": {
    "l": 0.45646,
    "c": 0.24262,
    "h": 272.7
  },
  "luminance": 0.08071
}

Semantic roles & 50–950 ramp

primary
#3731DA
secondary
#D6D88F
accent
#EC3BE6
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #3731DA

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

Preview Lab → · Contrast checker → · Palette generator →

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