#3955D5#3955D5

#3955D5 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.199 H 268.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3955D5
RGBrgb(57, 85, 213)
HSLhsl(229, 65%, 53%)
HSVhsv(229, 73%, 84%)
CMYKcmyk(73.2%, 60.1%, 0%, 16.5%)
CIE-LABlab(41.48, 33.62, -68.77)
CIE-LCHlch(41.48, 76.54, 296.05°)
OKLaboklab(50.85% -0.0045 -0.1986)
OKLCHoklch(50.85% 0.199 268.7)
XYZxyz(16.9419, 12.1692, 64.3939)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955D5 #D5B939
analogous
#39A3D5 #3955D5 #6B39D5
triadic
#3955D5 #D53955 #55D539
tetradic
#3955D5 #D539A3 #D5B939 #39D56B
square
#3955D5 #D539A3 #D5B939 #39D56B
split-complementary
#3955D5 #D56B39 #A3D539
monochromatic
#1A2B7A #253DAC #3955D5 #6B80E0 #9EACEA

Accessibility & contrast

On white

6.11
#3955D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3955D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955D5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955D5#FFFFFF#000000##FFFFFF
##3955D51.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#005BD3
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3955d5;
/* rgb */ color: rgb(57, 85, 213);
/* oklch */ color: oklch(50.9% 0.199 268.7);
Tailwind
colors: {
  custom: {
    50: '#8584e3',
    500: '#3955d5',
    950: '#000000',
  },
}
SCSS
$custom: #3955d5;
$custom-light: #8584e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3955d5",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 213
  },
  "hsl": {
    "h": 229.231,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50851,
    "c": 0.19864,
    "h": 268.7
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

primary
#3955D5
secondary
#D7CB93
accent
#CA40E8
background
#F8F8FE
surface
#F0EFFC
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #3955D5

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

Preview Lab → · Contrast checker → · Palette generator →

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