#3948B3#3948B3

#3948B3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.169 H 271.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#3948B3
RGBrgb(57, 72, 179)
HSLhsl(233, 52%, 46%)
HSVhsv(233, 68%, 70%)
CMYKcmyk(68.2%, 59.8%, 0%, 29.8%)
CIE-LABlab(35.51, 29.75, -58.70)
CIE-LCHlch(35.51, 65.81, 296.88°)
OKLaboklab(45.58% 0.0053 -0.1692)
OKLCHoklch(45.58% 0.169 271.8)
XYZxyz(12.1386, 8.7581, 43.6899)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948B3 #B3A439
analogous
#3985B3 #3948B3 #6739B3
triadic
#3948B3 #B33948 #48B339
tetradic
#3948B3 #B33985 #B3A439 #39B367
square
#3948B3 #B33985 #B3A439 #39B367
split-complementary
#3948B3 #B36739 #85B339
monochromatic
#1B2356 #2A3585 #3948B3 #5E6BCC #8C96DA

Accessibility & contrast

On white

7.63
#3948B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3948B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948B3
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948B3#FFFFFF#000000##FFFFFF
##3948B31.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3948b3;
/* rgb */ color: rgb(57, 72, 179);
/* oklch */ color: oklch(45.6% 0.169 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e7acb',
    500: '#3948b3',
    950: '#000000',
  },
}
SCSS
$custom: #3948b3;
$custom-light: #7e7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3948b3",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 232.623,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45576,
    "c": 0.16925,
    "h": 271.8
  },
  "luminance": 0.08759
}

Semantic roles & 50–950 ramp

primary
#3948B3
secondary
#C5BD83
accent
#CA4DDB
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3948B3

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

Preview Lab → · Contrast checker → · Palette generator →

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