#3948B2#3948B2

#3948B2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.168 H 271.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#3948B2
RGBrgb(57, 72, 178)
HSLhsl(233, 51%, 46%)
HSVhsv(233, 68%, 70%)
CMYKcmyk(68%, 59.6%, 0%, 30.2%)
CIE-LABlab(35.44, 29.39, -58.23)
CIE-LCHlch(35.44, 65.23, 296.78°)
OKLaboklab(45.49% 0.0053 -0.1678)
OKLCHoklch(45.49% 0.168 271.8)
XYZxyz(12.0379, 8.7178, 43.1592)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948B2 #B2A339
analogous
#3984B2 #3948B2 #6639B2
triadic
#3948B2 #B23948 #48B239
tetradic
#3948B2 #B23984 #B2A339 #39B266
square
#3948B2 #B23984 #B2A339 #39B266
split-complementary
#3948B2 #B26639 #84B239
monochromatic
#1B2255 #2A3584 #3948B2 #5D6BCB #8B95DA

Accessibility & contrast

On white

7.65
#3948B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3948B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948B2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948B2#FFFFFF#000000##FFFFFF
##3948B21.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3948b2;
/* rgb */ color: rgb(57, 72, 178);
/* oklch */ color: oklch(45.5% 0.168 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e7aca',
    500: '#3948b2',
    950: '#000000',
  },
}
SCSS
$custom: #3948b2;
$custom-light: #7e7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3948b2",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 232.562,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.16789,
    "h": 271.8
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3948B2

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

Preview Lab → · Contrast checker → · Palette generator →

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