#3941B3#3941B3

#3941B3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.178 H 273.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#3941B3
RGBrgb(57, 65, 179)
HSLhsl(236, 52%, 46%)
HSVhsv(236, 68%, 70%)
CMYKcmyk(68.2%, 63.7%, 0%, 29.8%)
CIE-LABlab(33.78, 34.23, -61.52)
CIE-LCHlch(33.78, 70.40, 299.09°)
OKLaboklab(44.3% 0.0109 -0.1775)
OKLCHoklch(44.3% 0.178 273.5)
XYZxyz(11.7116, 7.9040, 43.5475)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941B3 #B3AB39
analogous
#397EB3 #3941B3 #6E39B3
triadic
#3941B3 #B33941 #41B339
tetradic
#3941B3 #B3397E #B3AB39 #39B36E
square
#3941B3 #B3397E #B3AB39 #39B36E
split-complementary
#3941B3 #B36E39 #7EB339
monochromatic
#1B1F56 #2A3085 #3941B3 #5E65CC #8C91DA

Accessibility & contrast

On white

8.14
#3941B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3941B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941B3
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941B3#FFFFFF#000000##FFFFFF
##3941B31.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3941b3;
/* rgb */ color: rgb(57, 65, 179);
/* oklch */ color: oklch(44.3% 0.178 273.5);
Tailwind
colors: {
  custom: {
    50: '#7f76cb',
    500: '#3941b3',
    950: '#000000',
  },
}
SCSS
$custom: #3941b3;
$custom-light: #7f76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3941b3",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 236.066,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44298,
    "c": 0.17785,
    "h": 273.5
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#3941B3
secondary
#C5C183
accent
#D24DDB
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3941B3

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

Preview Lab → · Contrast checker → · Palette generator →

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