#3955CA#3955CA

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

Color values

HEX#3955CA
RGBrgb(57, 85, 202)
HSLhsl(228, 58%, 51%)
HSVhsv(228, 72%, 79%)
CMYKcmyk(71.8%, 57.9%, 0%, 20.8%)
CIE-LABlab(40.62, 29.66, -63.84)
CIE-LCHlch(40.62, 70.39, 294.92°)
OKLaboklab(49.94% -0.0046 -0.1841)
OKLCHoklch(49.94% 0.184 268.6)
XYZxyz(15.5928, 11.6295, 57.2886)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955CA #CAAE39
analogous
#399DCA #3955CA #6539CA
triadic
#3955CA #CA3955 #55CA39
tetradic
#3955CA #CA399D #CAAE39 #39CA65
square
#3955CA #CA399D #CAAE39 #39CA65
split-complementary
#3955CA #CA6539 #9DCA39
monochromatic
#1D2C6C #2A409C #3955CA #697ED7 #9AA8E4

Accessibility & contrast

On white

6.31
#3955CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3955CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955CA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955CA#FFFFFF#000000##FFFFFF
##3955CA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3955ca;
/* rgb */ color: rgb(57, 85, 202);
/* oklch */ color: oklch(49.9% 0.184 268.6);
Tailwind
colors: {
  custom: {
    50: '#8284db',
    500: '#3955ca',
    950: '#000000',
  },
}
SCSS
$custom: #3955ca;
$custom-light: #8284db;
$custom-dark: #000000;
JSON
{
  "hex": "#3955ca",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 228.414,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4994,
    "c": 0.18417,
    "h": 268.6
  },
  "luminance": 0.11631
}

Semantic roles & 50–950 ramp

primary
#3955CA
secondary
#D0C38F
accent
#C347E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3955CA

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

Preview Lab → · Contrast checker → · Palette generator →

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