#3955C9#3955C9

#3955C9 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.9% C 0.183 H 268.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#3955C9
RGBrgb(57, 85, 201)
HSLhsl(228, 57%, 51%)
HSVhsv(228, 72%, 79%)
CMYKcmyk(71.6%, 57.7%, 0%, 21.2%)
CIE-LABlab(40.54, 29.30, -63.38)
CIE-LCHlch(40.54, 69.83, 294.81°)
OKLaboklab(49.86% -0.0046 -0.1828)
OKLCHoklch(49.86% 0.183 268.5)
XYZxyz(15.4748, 11.5823, 56.6671)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955C9 #C9AD39
analogous
#399DC9 #3955C9 #6539C9
triadic
#3955C9 #C93955 #55C939
tetradic
#3955C9 #C9399D #C9AD39 #39C965
square
#3955C9 #C9399D #C9AD39 #39C965
split-complementary
#3955C9 #C96539 #9DC939
monochromatic
#1D2C6B #2A409B #3955C9 #697ED6 #99A8E3

Accessibility & contrast

On white

6.33
#3955C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3955C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955C9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955C9#FFFFFF#000000##FFFFFF
##3955C91.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3955c9;
/* rgb */ color: rgb(57, 85, 201);
/* oklch */ color: oklch(49.9% 0.183 268.5);
Tailwind
colors: {
  custom: {
    50: '#8284da',
    500: '#3955c9',
    950: '#000000',
  },
}
SCSS
$custom: #3955c9;
$custom-light: #8284da;
$custom-dark: #000000;
JSON
{
  "hex": "#3955c9",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 201
  },
  "hsl": {
    "h": 228.333,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49859,
    "c": 0.18284,
    "h": 268.5
  },
  "luminance": 0.11584
}

Semantic roles & 50–950 ramp

primary
#3955C9
secondary
#CFC28F
accent
#C347E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3955C9

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

Preview Lab → · Contrast checker → · Palette generator →

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