#3948D2#3948D2

#3948D2 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.3% C 0.210 H 271.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3948D2
RGBrgb(57, 72, 210)
HSLhsl(234, 63%, 52%)
HSVhsv(234, 73%, 82%)
CMYKcmyk(72.9%, 65.7%, 0%, 17.6%)
CIE-LABlab(38.12, 40.67, -72.54)
CIE-LCHlch(38.12, 83.17, 299.28°)
OKLaboklab(48.3% 0.004 -0.2098)
OKLCHoklch(48.3% 0.21 271.1)
XYZxyz(15.6336, 10.1561, 62.0967)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948D2 #D2C339
analogous
#3994D2 #3948D2 #7739D2
triadic
#3948D2 #D23948 #48D239
tetradic
#3948D2 #D23994 #D2C339 #39D277
square
#3948D2 #D23994 #D2C339 #39D277
split-complementary
#3948D2 #D27739 #94D239
monochromatic
#1B2476 #2633A8 #3948D2 #6B76DD #9DA4E9

Accessibility & contrast

On white

6.93
#3948D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3948D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3948D2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948D2#FFFFFF#000000##FFFFFF
##3948D21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0053CF
Tritanopia (blue-blind)
#006D87
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3948d2;
/* rgb */ color: rgb(57, 72, 210);
/* oklch */ color: oklch(48.3% 0.210 271.1);
Tailwind
colors: {
  custom: {
    50: '#857be1',
    500: '#3948d2',
    950: '#000000',
  },
}
SCSS
$custom: #3948d2;
$custom-light: #857be1;
$custom-dark: #000000;
JSON
{
  "hex": "#3948d2",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 234.118,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48299,
    "c": 0.2098,
    "h": 271.1
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

primary
#3948D2
secondary
#D5CE92
accent
#D642E6
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3948D2

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

Preview Lab → · Contrast checker → · Palette generator →

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