#3948B9#3948B9

#3948B9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.177 H 271.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#3948B9
RGBrgb(57, 72, 185)
HSLhsl(233, 53%, 47%)
HSVhsv(233, 69%, 73%)
CMYKcmyk(69.2%, 61.1%, 0%, 27.5%)
CIE-LABlab(36.00, 31.89, -61.45)
CIE-LCHlch(36.00, 69.24, 297.43°)
OKLaboklab(46.08% 0.0053 -0.1773)
OKLCHoklch(46.08% 0.177 271.7)
XYZxyz(12.7587, 9.0061, 46.9555)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948B9 #B9AA39
analogous
#3988B9 #3948B9 #6A39B9
triadic
#3948B9 #B93948 #48B939
tetradic
#3948B9 #B93988 #B9AA39 #39B96A
square
#3948B9 #B93988 #B9AA39 #39B96A
split-complementary
#3948B9 #B96A39 #88B939
monochromatic
#1C245B #2B368A #3948B9 #616ECE #9099DD

Accessibility & contrast

On white

7.50
#3948B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3948B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948B9
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948B9#FFFFFF#000000##FFFFFF
##3948B91.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3948b9;
/* rgb */ color: rgb(57, 72, 185);
/* oklch */ color: oklch(46.1% 0.177 271.7);
Tailwind
colors: {
  custom: {
    50: '#807bcf',
    500: '#3948b9',
    950: '#000000',
  },
}
SCSS
$custom: #3948b9;
$custom-light: #807bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3948b9",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 185
  },
  "hsl": {
    "h": 232.969,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46083,
    "c": 0.17734,
    "h": 271.7
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#3948B9
secondary
#C8C086
accent
#CB4BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3948B9

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

Preview Lab → · Contrast checker → · Palette generator →

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