#3948C8#3948C8

#3948C8 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.197 H 271.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#3948C8
RGBrgb(57, 72, 200)
HSLhsl(234, 57%, 50%)
HSVhsv(234, 72%, 78%)
CMYKcmyk(71.5%, 64%, 0%, 21.6%)
CIE-LABlab(37.25, 37.19, -68.18)
CIE-LCHlch(37.25, 77.66, 298.61°)
OKLaboklab(47.39% 0.0046 -0.197)
OKLCHoklch(47.39% 0.197 271.4)
XYZxyz(14.4265, 9.6733, 55.7392)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948C8 #C8B939
analogous
#3990C8 #3948C8 #7139C8
triadic
#3948C8 #C83948 #48C839
tetradic
#3948C8 #C83990 #C8B939 #39C871
square
#3948C8 #C83990 #C8B939 #39C871
split-complementary
#3948C8 #C87139 #90C839
monochromatic
#1D2569 #2B3699 #3948C8 #6974D5 #99A1E3

Accessibility & contrast

On white

7.16
#3948C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3948C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948C8
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948C8#FFFFFF#000000##FFFFFF
##3948C81.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3948c8;
/* rgb */ color: rgb(57, 72, 200);
/* oklch */ color: oklch(47.4% 0.197 271.4);
Tailwind
colors: {
  custom: {
    50: '#837bda',
    500: '#3948c8',
    950: '#000000',
  },
}
SCSS
$custom: #3948c8;
$custom-light: #837bda;
$custom-dark: #000000;
JSON
{
  "hex": "#3948c8",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 233.706,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47394,
    "c": 0.19704,
    "h": 271.4
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#3948C8
secondary
#CEC88F
accent
#D048E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3948C8

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

Preview Lab → · Contrast checker → · Palette generator →

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