#3948BD#3948BD

#3948BD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.4% C 0.183 H 271.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#3948BD
RGBrgb(57, 72, 189)
HSLhsl(233, 54%, 48%)
HSVhsv(233, 70%, 74%)
CMYKcmyk(69.8%, 61.9%, 0%, 25.9%)
CIE-LABlab(36.32, 33.31, -63.27)
CIE-LCHlch(36.32, 71.50, 297.77°)
OKLaboklab(46.43% 0.0051 -0.1826)
OKLCHoklch(46.43% 0.183 271.6)
XYZxyz(13.1869, 9.1774, 49.2107)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948BD #BDAE39
analogous
#398ABD #3948BD #6C39BD
triadic
#3948BD #BD3948 #48BD39
tetradic
#3948BD #BD398A #BDAE39 #39BD6C
square
#3948BD #BD398A #BDAE39 #39BD6C
split-complementary
#3948BD #BD6C39 #8ABD39
monochromatic
#1D245F #2B368E #3948BD #6370D0 #929BDE

Accessibility & contrast

On white

7.41
#3948BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3948BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948BD
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948BD#FFFFFF#000000##FFFFFF
##3948BD1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3948bd;
/* rgb */ color: rgb(57, 72, 189);
/* oklch */ color: oklch(46.4% 0.183 271.6);
Tailwind
colors: {
  custom: {
    50: '#817bd2',
    500: '#3948bd',
    950: '#000000',
  },
}
SCSS
$custom: #3948bd;
$custom-light: #817bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3948bd",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 233.182,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46427,
    "c": 0.18266,
    "h": 271.6
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#3948BD
secondary
#C9C289
accent
#CC4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3948BD

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

Preview Lab → · Contrast checker → · Palette generator →

#3948BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva