#3955B7#3955B7

#3955B7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.158 H 268.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3955B7
RGBrgb(57, 85, 183)
HSLhsl(227, 53%, 47%)
HSVhsv(227, 69%, 72%)
CMYKcmyk(68.9%, 53.6%, 0%, 28.2%)
CIE-LABlab(39.21, 22.75, -55.05)
CIE-LCHlch(39.21, 59.57, 292.46°)
OKLaboklab(48.44% -0.0055 -0.1583)
OKLCHoklch(48.44% 0.158 268)
XYZxyz(13.4801, 10.7844, 46.1618)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955B7 #B79B39
analogous
#3994B7 #3955B7 #5C39B7
triadic
#3955B7 #B73955 #55B739
tetradic
#3955B7 #B73994 #B79B39 #39B75C
square
#3955B7 #B73994 #B79B39 #39B75C
split-complementary
#3955B7 #B75C39 #94B739
monochromatic
#1C2A5A #2A3F88 #3955B7 #6078CD #8EA0DC

Accessibility & contrast

On white

6.65
#3955B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3955B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955B7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955B7#FFFFFF#000000##FFFFFF
##3955B71.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F62BA
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3955b7;
/* rgb */ color: rgb(57, 85, 183);
/* oklch */ color: oklch(48.4% 0.158 268.0);
Tailwind
colors: {
  custom: {
    50: '#7e84cd',
    500: '#3955b7',
    950: '#000000',
  },
}
SCSS
$custom: #3955b7;
$custom-light: #7e84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3955b7",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 183
  },
  "hsl": {
    "h": 226.667,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48441,
    "c": 0.15837,
    "h": 268
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#3955B7
secondary
#C7B885
accent
#BC4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3955B7

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

Preview Lab → · Contrast checker → · Palette generator →

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