#3945B3#3945B3

#3945B3 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.173 H 272.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3945B3
RGBrgb(57, 69, 179)
HSLhsl(234, 52%, 46%)
HSVhsv(234, 68%, 70%)
CMYKcmyk(68.2%, 61.5%, 0%, 29.8%)
CIE-LABlab(34.76, 31.68, -59.92)
CIE-LCHlch(34.76, 67.78, 297.86°)
OKLaboklab(45.02% 0.0078 -0.1728)
OKLCHoklch(45.02% 0.173 272.6)
XYZxyz(11.9494, 8.3797, 43.6268)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945B3 #B3A739
analogous
#3982B3 #3945B3 #6A39B3
triadic
#3945B3 #B33945 #45B339
tetradic
#3945B3 #B33982 #B3A739 #39B36A
square
#3945B3 #B33982 #B3A739 #39B36A
split-complementary
#3945B3 #B36A39 #82B339
monochromatic
#1B2156 #2A3385 #3945B3 #5E68CC #8C94DA

Accessibility & contrast

On white

7.85
#3945B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3945B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945B3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945B3#FFFFFF#000000##FFFFFF
##3945B31.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3945b3;
/* rgb */ color: rgb(57, 69, 179);
/* oklch */ color: oklch(45.0% 0.173 272.6);
Tailwind
colors: {
  custom: {
    50: '#7f78cb',
    500: '#3945b3',
    950: '#000000',
  },
}
SCSS
$custom: #3945b3;
$custom-light: #7f78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3945b3",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 234.098,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45019,
    "c": 0.17297,
    "h": 272.6
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#3945B3
secondary
#C5BE83
accent
#CD4DDB
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3945B3

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

Preview Lab → · Contrast checker → · Palette generator →

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