#3955BA#3955BA

#3955BA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.163 H 268.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#3955BA
RGBrgb(57, 85, 186)
HSLhsl(227, 53%, 48%)
HSVhsv(227, 69%, 73%)
CMYKcmyk(69.4%, 54.3%, 0%, 27.1%)
CIE-LABlab(39.43, 23.85, -56.46)
CIE-LCHlch(39.43, 61.29, 292.90°)
OKLaboklab(48.67% -0.0053 -0.1624)
OKLCHoklch(48.67% 0.163 268.1)
XYZxyz(13.7957, 10.9107, 47.8238)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955BA #BA9E39
analogous
#3995BA #3955BA #5E39BA
triadic
#3955BA #BA3955 #55BA39
tetradic
#3955BA #BA3995 #BA9E39 #39BA5E
square
#3955BA #BA3995 #BA9E39 #39BA5E
split-complementary
#3955BA #BA5E39 #95BA39
monochromatic
#1C2A5C #2B408B #3955BA #6179CF #90A1DD

Accessibility & contrast

On white

6.60
#3955BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3955BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955BA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955BA#FFFFFF#000000##FFFFFF
##3955BA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0463BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3955ba;
/* rgb */ color: rgb(57, 85, 186);
/* oklch */ color: oklch(48.7% 0.163 268.1);
Tailwind
colors: {
  custom: {
    50: '#7f84cf',
    500: '#3955ba',
    950: '#000000',
  },
}
SCSS
$custom: #3955ba;
$custom-light: #7f84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3955ba",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 226.977,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48671,
    "c": 0.16251,
    "h": 268.1
  },
  "luminance": 0.10912
}

Semantic roles & 50–950 ramp

primary
#3955BA
secondary
#C8BA87
accent
#BD4BDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3955BA

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

Preview Lab → · Contrast checker → · Palette generator →

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