#3955B8#3955B8

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

Color values

HEX#3955B8
RGBrgb(57, 85, 184)
HSLhsl(227, 53%, 47%)
HSVhsv(227, 69%, 72%)
CMYKcmyk(69%, 53.8%, 0%, 27.8%)
CIE-LABlab(39.29, 23.12, -55.52)
CIE-LCHlch(39.29, 60.14, 292.61°)
OKLaboklab(48.52% -0.0055 -0.1597)
OKLCHoklch(48.52% 0.16 268)
XYZxyz(13.5846, 10.8262, 46.7119)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3955B8 #B89C39
analogous
#3994B8 #3955B8 #5D39B8
triadic
#3955B8 #B83955 #55B839
tetradic
#3955B8 #B83994 #B89C39 #39B85D
square
#3955B8 #B83994 #B89C39 #39B85D
split-complementary
#3955B8 #B85D39 #94B839
monochromatic
#1C2A5B #2B3F89 #3955B8 #6078CE #8FA0DC

Accessibility & contrast

On white

6.63
#3955B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3955B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3955B8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3955B8#FFFFFF#000000##FFFFFF
##3955B81.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C63BB
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3955b8;
/* rgb */ color: rgb(57, 85, 184);
/* oklch */ color: oklch(48.5% 0.160 268.0);
Tailwind
colors: {
  custom: {
    50: '#7f84ce',
    500: '#3955b8',
    950: '#000000',
  },
}
SCSS
$custom: #3955b8;
$custom-light: #7f84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3955b8",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 184
  },
  "hsl": {
    "h": 226.772,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.15975,
    "h": 268
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3955B8

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

Preview Lab → · Contrast checker → · Palette generator →

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