#3955B3#3955B3

#3955B3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.153 H 267.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3955B3
RGBrgb(57, 85, 179)
HSLhsl(226, 52%, 46%)
HSVhsv(226, 68%, 70%)
CMYKcmyk(68.2%, 52.5%, 0%, 29.8%)
CIE-LABlab(38.93, 21.29, -53.15)
CIE-LCHlch(38.93, 57.26, 291.83°)
OKLaboklab(48.14% -0.0059 -0.1527)
OKLCHoklch(48.14% 0.153 267.8)
XYZxyz(13.0697, 10.6203, 44.0002)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955B3 #B39739
analogous
#3992B3 #3955B3 #5A39B3
triadic
#3955B3 #B33955 #55B339
tetradic
#3955B3 #B33992 #B39739 #39B35A
square
#3955B3 #B33992 #B39739 #39B35A
split-complementary
#3955B3 #B35A39 #92B339
monochromatic
#1B2956 #2A3F85 #3955B3 #5E77CC #8C9EDA

Accessibility & contrast

On white

6.72
#3955B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3955B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955B3
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955B3#FFFFFF#000000##FFFFFF
##3955B31.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1962B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3955b3;
/* rgb */ color: rgb(57, 85, 179);
/* oklch */ color: oklch(48.1% 0.153 267.8);
Tailwind
colors: {
  custom: {
    50: '#7e84ca',
    500: '#3955b3',
    950: '#000000',
  },
}
SCSS
$custom: #3955b3;
$custom-light: #7e84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3955b3",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 179
  },
  "hsl": {
    "h": 226.23,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48139,
    "c": 0.1528,
    "h": 267.8
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#3955B3
secondary
#C5B683
accent
#BA4DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3955B3

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

Preview Lab → · Contrast checker → · Palette generator →

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