#3955B4#3955B4

#3955B4 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.154 H 267.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3955B4
RGBrgb(57, 85, 180)
HSLhsl(226, 52%, 46%)
HSVhsv(226, 68%, 71%)
CMYKcmyk(68.3%, 52.8%, 0%, 29.4%)
CIE-LABlab(39.00, 21.66, -53.63)
CIE-LCHlch(39.00, 57.84, 291.99°)
OKLaboklab(48.21% -0.0058 -0.1541)
OKLCHoklch(48.21% 0.154 267.8)
XYZxyz(13.1712, 10.6609, 44.5348)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955B4 #B49839
analogous
#3993B4 #3955B4 #5A39B4
triadic
#3955B4 #B43955 #55B439
tetradic
#3955B4 #B43993 #B49839 #39B45A
square
#3955B4 #B43993 #B49839 #39B45A
split-complementary
#3955B4 #B45A39 #93B439
monochromatic
#1C2957 #2A3F86 #3955B4 #5E77CC #8D9EDB

Accessibility & contrast

On white

6.70
#3955B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3955B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955B4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955B4#FFFFFF#000000##FFFFFF
##3955B41.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1762B7
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3955b4;
/* rgb */ color: rgb(57, 85, 180);
/* oklch */ color: oklch(48.2% 0.154 267.8);
Tailwind
colors: {
  custom: {
    50: '#7e84cb',
    500: '#3955b4',
    950: '#000000',
  },
}
SCSS
$custom: #3955b4;
$custom-light: #7e84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3955b4",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 180
  },
  "hsl": {
    "h": 226.341,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48214,
    "c": 0.1542,
    "h": 267.8
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#3955B4
secondary
#C5B683
accent
#BB4CDB
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3955B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3955B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva