#3948B7#3948B7

#3948B7 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.175 H 271.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#3948B7
RGBrgb(57, 72, 183)
HSLhsl(233, 53%, 47%)
HSVhsv(233, 69%, 72%)
CMYKcmyk(68.9%, 60.7%, 0%, 28.2%)
CIE-LABlab(35.83, 31.18, -60.54)
CIE-LCHlch(35.83, 68.10, 297.25°)
OKLaboklab(45.91% 0.0053 -0.1746)
OKLCHoklch(45.91% 0.175 271.7)
XYZxyz(12.5491, 8.9223, 45.8514)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948B7 #B7A839
analogous
#3987B7 #3948B7 #6939B7
triadic
#3948B7 #B73948 #48B739
tetradic
#3948B7 #B73987 #B7A839 #39B769
square
#3948B7 #B73987 #B7A839 #39B769
split-complementary
#3948B7 #B76939 #87B739
monochromatic
#1C235A #2A3688 #3948B7 #606DCD #8E98DC

Accessibility & contrast

On white

7.54
#3948B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3948B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948B7
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948B7#FFFFFF#000000##FFFFFF
##3948B71.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3948b7;
/* rgb */ color: rgb(57, 72, 183);
/* oklch */ color: oklch(45.9% 0.175 271.7);
Tailwind
colors: {
  custom: {
    50: '#7f7bcd',
    500: '#3948b7',
    950: '#000000',
  },
}
SCSS
$custom: #3948b7;
$custom-light: #7f7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3948b7",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 232.857,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45913,
    "c": 0.17466,
    "h": 271.7
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#3948B7
secondary
#C7BF85
accent
#CB4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3948B7

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

Preview Lab → · Contrast checker → · Palette generator →

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