#3948B0#3948B0

#3948B0 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.165 H 271.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3948B0
RGBrgb(57, 72, 176)
HSLhsl(232, 51%, 46%)
HSVhsv(232, 68%, 69%)
CMYKcmyk(67.6%, 59.1%, 0%, 31%)
CIE-LABlab(35.28, 28.68, -57.30)
CIE-LCHlch(35.28, 64.08, 296.58°)
OKLaboklab(45.33% 0.0053 -0.1651)
OKLCHoklch(45.33% 0.165 271.8)
XYZxyz(11.8385, 8.6381, 42.1093)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948B0 #B0A139
analogous
#3983B0 #3948B0 #6539B0
triadic
#3948B0 #B03948 #48B039
tetradic
#3948B0 #B03983 #B0A139 #39B065
square
#3948B0 #B03983 #B0A139 #39B065
split-complementary
#3948B0 #B06539 #83B039
monochromatic
#1B2254 #2A3582 #3948B0 #5C6ACA #8A94D9

Accessibility & contrast

On white

7.70
#3948B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3948B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948B0
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948B0#FFFFFF#000000##FFFFFF
##3948B01.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3948b0;
/* rgb */ color: rgb(57, 72, 176);
/* oklch */ color: oklch(45.3% 0.165 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e7ac8',
    500: '#3948b0',
    950: '#000000',
  },
}
SCSS
$custom: #3948b0;
$custom-light: #7e7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3948b0",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 176
  },
  "hsl": {
    "h": 232.437,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45326,
    "c": 0.16516,
    "h": 271.8
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#3948B0
secondary
#C4BB81
accent
#C94DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3948B0

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

Preview Lab → · Contrast checker → · Palette generator →

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