#3955A7#3955A7

#3955A7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.136 H 267.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3955A7
RGBrgb(57, 85, 167)
HSLhsl(225, 49%, 44%)
HSVhsv(225, 66%, 65%)
CMYKcmyk(65.9%, 49.1%, 0%, 34.5%)
CIE-LABlab(38.12, 16.92, -47.36)
CIE-LCHlch(38.12, 50.29, 289.66°)
OKLaboklab(47.26% -0.0072 -0.1356)
OKLCHoklch(47.26% 0.136 267)
XYZxyz(11.9085, 10.1558, 37.8844)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955A7 #A78B39
analogous
#398CA7 #3955A7 #5439A7
triadic
#3955A7 #A73955 #55A739
tetradic
#3955A7 #A7398C #A78B39 #39A754
square
#3955A7 #A7398C #A78B39 #39A754
split-complementary
#3955A7 #A75439 #8CA739
monochromatic
#1A274C #293E79 #3955A7 #5774C6 #8599D5

Accessibility & contrast

On white

6.93
#3955A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3955A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955A7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955A7#FFFFFF#000000##FFFFFF
##3955A71.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FAA
Deuteranopia (green-blind)
#1055A5
Tritanopia (blue-blind)
#006876
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3955a7;
/* rgb */ color: rgb(57, 85, 167);
/* oklch */ color: oklch(47.3% 0.136 267.0);
Tailwind
colors: {
  custom: {
    50: '#7b84c2',
    500: '#3955a7',
    950: '#000000',
  },
}
SCSS
$custom: #3955a7;
$custom-light: #7b84c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3955a7",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 167
  },
  "hsl": {
    "h": 224.727,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47262,
    "c": 0.13583,
    "h": 267
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#3955A7
secondary
#BFAE7D
accent
#B64FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3955A7

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

Preview Lab → · Contrast checker → · Palette generator →

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