#3941CA#3941CA

#3941CA is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.4% C 0.207 H 272.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#3941CA
RGBrgb(57, 65, 202)
HSLhsl(237, 58%, 51%)
HSVhsv(237, 72%, 79%)
CMYKcmyk(71.8%, 67.8%, 0%, 20.8%)
CIE-LABlab(35.82, 42.18, -71.69)
CIE-LCHlch(35.82, 83.18, 300.47°)
OKLaboklab(46.41% 0.0089 -0.2073)
OKLCHoklch(46.41% 0.207 272.5)
XYZxyz(14.2347, 8.9133, 56.8359)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941CA #CAC239
analogous
#3989CA #3941CA #7939CA
triadic
#3941CA #CA3941 #41CA39
tetradic
#3941CA #CA3989 #CAC239 #39CA79
square
#3941CA #CA3989 #CAC239 #39CA79
split-complementary
#3941CA #CA7939 #89CA39
monochromatic
#1D216C #2A309C #3941CA #696FD7 #9A9EE4

Accessibility & contrast

On white

7.55
#3941CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3941CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941CA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941CA#FFFFFF#000000##FFFFFF
##3941CA1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#004DC7
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3941ca;
/* rgb */ color: rgb(57, 65, 202);
/* oklch */ color: oklch(46.4% 0.207 272.5);
Tailwind
colors: {
  custom: {
    50: '#8476db',
    500: '#3941ca',
    950: '#000000',
  },
}
SCSS
$custom: #3941ca;
$custom-light: #8476db;
$custom-dark: #000000;
JSON
{
  "hex": "#3941ca",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 236.69,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46405,
    "c": 0.20749,
    "h": 272.5
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

primary
#3941CA
secondary
#D0CC8F
accent
#D847E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3941CA

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

Preview Lab → · Contrast checker → · Palette generator →

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