#3948E2#3948E2

#3948E2 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.8% C 0.230 H 270.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#3948E2
RGBrgb(57, 72, 226)
HSLhsl(235, 74%, 55%)
HSVhsv(235, 75%, 89%)
CMYKcmyk(74.8%, 68.1%, 0%, 11.4%)
CIE-LABlab(39.57, 46.15, -79.33)
CIE-LCHlch(39.57, 91.78, 300.19°)
OKLaboklab(49.79% 0.0026 -0.2296)
OKLCHoklch(49.79% 0.23 270.6)
XYZxyz(17.7275, 10.9937, 73.1245)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948E2 #E2D339
analogous
#399CE2 #3948E2 #7F39E2
triadic
#3948E2 #E23948 #48E239
tetradic
#3948E2 #E2399C #E2D339 #39E27F
square
#3948E2 #E2399C #E2D339 #39E27F
split-complementary
#3948E2 #E27F39 #9CE239
monochromatic
#151F8C #1C2BC1 #3948E2 #6E79EA #A4ABF2

Accessibility & contrast

On white

6.56
#3948E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3948E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3948E2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948E2#FFFFFF#000000##FFFFFF
##3948E21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0055DF
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3948e2;
/* rgb */ color: rgb(57, 72, 226);
/* oklch */ color: oklch(49.8% 0.230 270.6);
Tailwind
colors: {
  custom: {
    50: '#897bec',
    500: '#3948e2',
    950: '#000000',
  },
}
SCSS
$custom: #3948e2;
$custom-light: #897bec;
$custom-dark: #000000;
JSON
{
  "hex": "#3948e2",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 234.675,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49792,
    "c": 0.22962,
    "h": 270.6
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#3948E2
secondary
#DFD898
accent
#E137F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3948E2

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

Preview Lab → · Contrast checker → · Palette generator →

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