#3948C9#3948C9

#3948C9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.5% C 0.198 H 271.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#3948C9
RGBrgb(57, 72, 201)
HSLhsl(234, 57%, 51%)
HSVhsv(234, 72%, 79%)
CMYKcmyk(71.6%, 64.2%, 0%, 21.2%)
CIE-LABlab(37.34, 37.54, -68.62)
CIE-LCHlch(37.34, 78.22, 298.68°)
OKLaboklab(47.48% 0.0046 -0.1983)
OKLCHoklch(47.48% 0.198 271.3)
XYZxyz(14.5437, 9.7202, 56.3567)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948C9 #C9BA39
analogous
#3990C9 #3948C9 #7239C9
triadic
#3948C9 #C93948 #48C939
tetradic
#3948C9 #C93990 #C9BA39 #39C972
square
#3948C9 #C93990 #C9BA39 #39C972
split-complementary
#3948C9 #C97239 #90C939
monochromatic
#1D256B #2A369B #3948C9 #6974D6 #99A1E3

Accessibility & contrast

On white

7.13
#3948C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3948C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948C9
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948C9#FFFFFF#000000##FFFFFF
##3948C91.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3948c9;
/* rgb */ color: rgb(57, 72, 201);
/* oklch */ color: oklch(47.5% 0.198 271.3);
Tailwind
colors: {
  custom: {
    50: '#837bda',
    500: '#3948c9',
    950: '#000000',
  },
}
SCSS
$custom: #3948c9;
$custom-light: #837bda;
$custom-dark: #000000;
JSON
{
  "hex": "#3948c9",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 201
  },
  "hsl": {
    "h": 233.75,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47484,
    "c": 0.19833,
    "h": 271.3
  },
  "luminance": 0.09722
}

Semantic roles & 50–950 ramp

primary
#3948C9
secondary
#CFC88F
accent
#D047E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3948C9

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

Preview Lab → · Contrast checker → · Palette generator →

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