#3948B4#3948B4

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

Color values

HEX#3948B4
RGBrgb(57, 72, 180)
HSLhsl(233, 52%, 46%)
HSVhsv(233, 68%, 71%)
CMYKcmyk(68.3%, 60%, 0%, 29.4%)
CIE-LABlab(35.59, 30.11, -59.16)
CIE-LCHlch(35.59, 66.38, 296.97°)
OKLaboklab(45.66% 0.0053 -0.1705)
OKLCHoklch(45.66% 0.171 271.8)
XYZxyz(12.2401, 8.7987, 44.2244)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948B4 #B4A539
analogous
#3986B4 #3948B4 #6839B4
triadic
#3948B4 #B43948 #48B439
tetradic
#3948B4 #B43986 #B4A539 #39B468
square
#3948B4 #B43986 #B4A539 #39B468
split-complementary
#3948B4 #B46839 #86B439
monochromatic
#1C2357 #2A3586 #3948B4 #5E6CCC #8D96DB

Accessibility & contrast

On white

7.61
#3948B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3948B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948B4
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948B4#FFFFFF#000000##FFFFFF
##3948B41.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3948b4;
/* rgb */ color: rgb(57, 72, 180);
/* oklch */ color: oklch(45.7% 0.171 271.8);
Tailwind
colors: {
  custom: {
    50: '#7f7acb',
    500: '#3948b4',
    950: '#000000',
  },
}
SCSS
$custom: #3948b4;
$custom-light: #7f7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3948b4",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 232.683,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4566,
    "c": 0.1706,
    "h": 271.8
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3948B4

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

Preview Lab → · Contrast checker → · Palette generator →

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