#3948BF#3948BF

#3948BF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.6% C 0.185 H 271.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3948BF
RGBrgb(57, 72, 191)
HSLhsl(233, 54%, 49%)
HSVhsv(233, 70%, 75%)
CMYKcmyk(70.2%, 62.3%, 0%, 25.1%)
CIE-LABlab(36.49, 34.02, -64.17)
CIE-LCHlch(36.49, 72.63, 297.93°)
OKLaboklab(46.6% 0.0051 -0.1852)
OKLCHoklch(46.6% 0.185 271.6)
XYZxyz(13.4055, 9.2649, 50.3619)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948BF #BFB039
analogous
#398BBF #3948BF #6D39BF
triadic
#3948BF #BF3948 #48BF39
tetradic
#3948BF #BF398B #BFB039 #39BF6D
square
#3948BF #BF398B #BFB039 #39BF6D
split-complementary
#3948BF #BF6D39 #8BBF39
monochromatic
#1D2461 #2B3690 #3948BF #6470D1 #939CDF

Accessibility & contrast

On white

7.36
#3948BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3948BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948BF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948BF#FFFFFF#000000##FFFFFF
##3948BF1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3948bf;
/* rgb */ color: rgb(57, 72, 191);
/* oklch */ color: oklch(46.6% 0.185 271.6);
Tailwind
colors: {
  custom: {
    50: '#817bd3',
    500: '#3948bf',
    950: '#000000',
  },
}
SCSS
$custom: #3948bf;
$custom-light: #817bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3948bf",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 233.284,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46601,
    "c": 0.18531,
    "h": 271.6
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#3948BF
secondary
#CAC38A
accent
#CD4ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3948BF

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

Preview Lab → · Contrast checker → · Palette generator →

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