#3941CB#3941CB

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

Color values

HEX#3941CB
RGBrgb(57, 65, 203)
HSLhsl(237, 58%, 51%)
HSVhsv(237, 72%, 80%)
CMYKcmyk(71.9%, 68%, 0%, 20.4%)
CIE-LABlab(35.91, 42.52, -72.12)
CIE-LCHlch(35.91, 83.72, 300.52°)
OKLaboklab(46.5% 0.0088 -0.2086)
OKLCHoklch(46.5% 0.209 272.4)
XYZxyz(14.3535, 8.9608, 57.4615)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941CB #CBC339
analogous
#398ACB #3941CB #7A39CB
triadic
#3941CB #CB3941 #41CB39
tetradic
#3941CB #CB398A #CBC339 #39CB7A
square
#3941CB #CB398A #CBC339 #39CB7A
split-complementary
#3941CB #CB7A39 #8ACB39
monochromatic
#1D216D #29309D #3941CB #6970D8 #9A9EE4

Accessibility & contrast

On white

7.52
#3941CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3941CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941CB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941CB#FFFFFF#000000##FFFFFF
##3941CB1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#004EC8
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3941cb;
/* rgb */ color: rgb(57, 65, 203);
/* oklch */ color: oklch(46.5% 0.209 272.4);
Tailwind
colors: {
  custom: {
    50: '#8476dc',
    500: '#3941cb',
    950: '#000000',
  },
}
SCSS
$custom: #3941cb;
$custom-light: #8476dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3941cb",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 236.712,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46499,
    "c": 0.20875,
    "h": 272.4
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#3941CB
secondary
#D0CD90
accent
#D946E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3941CB

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

Preview Lab → · Contrast checker → · Palette generator →

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