#3941CC#3941CC

#3941CC is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.6% C 0.210 H 272.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#3941CC
RGBrgb(57, 65, 204)
HSLhsl(237, 59%, 51%)
HSVhsv(237, 72%, 80%)
CMYKcmyk(72.1%, 68.1%, 0%, 20%)
CIE-LABlab(36.00, 42.86, -72.55)
CIE-LCHlch(36.00, 84.27, 300.57°)
OKLaboklab(46.59% 0.0087 -0.2098)
OKLCHoklch(46.59% 0.21 272.4)
XYZxyz(14.4731, 9.0086, 58.0911)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941CC #CCC439
analogous
#398ACC #3941CC #7A39CC
triadic
#3941CC #CC3941 #41CC39
tetradic
#3941CC #CC398A #CCC439 #39CC7A
square
#3941CC #CC398A #CCC439 #39CC7A
split-complementary
#3941CC #CC7A39 #8ACC39
monochromatic
#1C216E #292F9F #3941CC #6A70D9 #9A9EE5

Accessibility & contrast

On white

7.49
#3941CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3941CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941CC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941CC#FFFFFF#000000##FFFFFF
##3941CC1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#004EC9
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3941cc;
/* rgb */ color: rgb(57, 65, 204);
/* oklch */ color: oklch(46.6% 0.210 272.4);
Tailwind
colors: {
  custom: {
    50: '#8476dd',
    500: '#3941cc',
    950: '#000000',
  },
}
SCSS
$custom: #3941cc;
$custom-light: #8476dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3941cc",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 236.735,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46594,
    "c": 0.20999,
    "h": 272.4
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#3941CC
secondary
#D1CD90
accent
#DA46E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3941CC

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

Preview Lab → · Contrast checker → · Palette generator →

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