#3955CB#3955CB

#3955CB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.0% C 0.185 H 268.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#3955CB
RGBrgb(57, 85, 203)
HSLhsl(228, 58%, 51%)
HSVhsv(228, 72%, 80%)
CMYKcmyk(71.9%, 58.1%, 0%, 20.4%)
CIE-LABlab(40.70, 30.02, -64.29)
CIE-LCHlch(40.70, 70.95, 295.03°)
OKLaboklab(50.02% -0.0046 -0.1854)
OKLCHoklch(50.02% 0.186 268.6)
XYZxyz(15.7116, 11.6770, 57.9142)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955CB #CBAF39
analogous
#399ECB #3955CB #6639CB
triadic
#3955CB #CB3955 #55CB39
tetradic
#3955CB #CB399E #CBAF39 #39CB66
square
#3955CB #CB399E #CBAF39 #39CB66
split-complementary
#3955CB #CB6639 #9ECB39
monochromatic
#1D2C6D #29409D #3955CB #697FD8 #9AA8E4

Accessibility & contrast

On white

6.30
#3955CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3955CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955CB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955CB#FFFFFF#000000##FFFFFF
##3955CB1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3955cb;
/* rgb */ color: rgb(57, 85, 203);
/* oklch */ color: oklch(50.0% 0.185 268.6);
Tailwind
colors: {
  custom: {
    50: '#8384dc',
    500: '#3955cb',
    950: '#000000',
  },
}
SCSS
$custom: #3955cb;
$custom-light: #8384dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3955cb",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 228.493,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.1855,
    "h": 268.6
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#3955CB
secondary
#D0C490
accent
#C446E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3955CB

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

Preview Lab → · Contrast checker → · Palette generator →

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