#3941C5#3941C5

#3941C5 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 45.9% C 0.201 H 272.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3941C5
RGBrgb(57, 65, 197)
HSLhsl(237, 55%, 50%)
HSVhsv(237, 71%, 77%)
CMYKcmyk(71.1%, 67%, 0%, 22.7%)
CIE-LABlab(35.36, 40.47, -69.53)
CIE-LCHlch(35.36, 80.45, 300.20°)
OKLaboklab(45.94% 0.0094 -0.201)
OKLCHoklch(45.94% 0.201 272.7)
XYZxyz(13.6523, 8.6803, 53.7685)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941C5 #C5BD39
analogous
#3987C5 #3941C5 #7739C5
triadic
#3941C5 #C53941 #41C539
tetradic
#3941C5 #C53987 #C5BD39 #39C577
square
#3941C5 #C53987 #C5BD39 #39C577
split-complementary
#3941C5 #C57739 #87C539
monochromatic
#1E2266 #2B3196 #3941C5 #686ED3 #979CE1

Accessibility & contrast

On white

7.67
#3941C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3941C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941C5
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941C5#FFFFFF#000000##FFFFFF
##3941C51.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3941c5;
/* rgb */ color: rgb(57, 65, 197);
/* oklch */ color: oklch(45.9% 0.201 272.7);
Tailwind
colors: {
  custom: {
    50: '#8376d8',
    500: '#3941c5',
    950: '#000000',
  },
}
SCSS
$custom: #3941c5;
$custom-light: #8376d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3941c5",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 236.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45936,
    "c": 0.20119,
    "h": 272.7
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#3941C5
secondary
#CDC98D
accent
#D649DE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3941C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3941C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva