#3731C9#3731C9

#3731C9 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.8% C 0.223 H 273.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#3731C9
RGBrgb(55, 49, 201)
HSLhsl(242, 61%, 49%)
HSVhsv(242, 76%, 79%)
CMYKcmyk(72.6%, 75.6%, 0%, 21.2%)
CIE-LABlab(32.31, 50.77, -76.89)
CIE-LCHlch(32.31, 92.14, 303.44°)
OKLaboklab(43.84% 0.0151 -0.2224)
OKLCHoklch(43.84% 0.223 273.9)
XYZxyz(13.2130, 7.2246, 55.9452)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731C9 #C3C931
analogous
#3177C9 #3731C9 #8331C9
triadic
#3731C9 #C93731 #31C937
tetradic
#3731C9 #C93177 #C3C931 #31C983
square
#3731C9 #C93177 #C3C931 #31C983
split-complementary
#3731C9 #C98331 #77C931
monochromatic
#1C1967 #2A2598 #3731C9 #645FD8 #9490E4

Accessibility & contrast

On white

8.59
#3731C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3731C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3731C9
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3731C9#FFFFFF#000000##FFFFFF
##3731C91.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0045C6
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3731c9;
/* rgb */ color: rgb(55, 49, 201);
/* oklch */ color: oklch(43.8% 0.223 273.9);
Tailwind
colors: {
  custom: {
    50: '#846cdb',
    500: '#3731c9',
    950: '#000000',
  },
}
SCSS
$custom: #3731c9;
$custom-light: #846cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3731c9",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 242.368,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.43838,
    "c": 0.22294,
    "h": 273.9
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#3731C9
secondary
#CCCF87
accent
#E444DE
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3731C9

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

Preview Lab → · Contrast checker → · Palette generator →

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