#3731C8#3731C8

#3731C8 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.222 H 274.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3731C8
RGBrgb(55, 49, 200)
HSLhsl(242, 61%, 49%)
HSVhsv(242, 76%, 78%)
CMYKcmyk(72.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(32.21, 50.45, -76.48)
CIE-LCHlch(32.21, 91.62, 303.41°)
OKLaboklab(43.73% 0.0153 -0.2212)
OKLCHoklch(43.73% 0.222 274)
XYZxyz(13.0957, 7.1777, 55.3276)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3731C8 #C2C831
analogous
#3177C8 #3731C8 #8331C8
triadic
#3731C8 #C83731 #31C837
tetradic
#3731C8 #C83177 #C2C831 #31C883
square
#3731C8 #C83177 #C2C831 #31C883
split-complementary
#3731C8 #C88331 #77C831
monochromatic
#1C1966 #292597 #3731C8 #635FD8 #9390E4

Accessibility & contrast

On white

8.62
#3731C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3731C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3731C8
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3731C8#FFFFFF#000000##FFFFFF
##3731C81.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3731c8;
/* rgb */ color: rgb(55, 49, 200);
/* oklch */ color: oklch(43.7% 0.222 274.0);
Tailwind
colors: {
  custom: {
    50: '#846cda',
    500: '#3731c8',
    950: '#000000',
  },
}
SCSS
$custom: #3731c8;
$custom-light: #846cda;
$custom-dark: #000000;
JSON
{
  "hex": "#3731c8",
  "rgb": {
    "r": 55,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 242.384,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43734,
    "c": 0.22177,
    "h": 274
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#3731C8
secondary
#CBCE86
accent
#E444DD
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3731C8

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

Preview Lab → · Contrast checker → · Palette generator →

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