#3948C0#3948C0

#3948C0 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.187 H 271.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3948C0
RGBrgb(57, 72, 192)
HSLhsl(233, 54%, 49%)
HSVhsv(233, 70%, 75%)
CMYKcmyk(70.3%, 62.5%, 0%, 24.7%)
CIE-LABlab(36.57, 34.37, -64.62)
CIE-LCHlch(36.57, 73.20, 298.01°)
OKLaboklab(46.69% 0.005 -0.1866)
OKLCHoklch(46.69% 0.187 271.5)
XYZxyz(13.5159, 9.3090, 50.9435)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948C0 #C0B139
analogous
#398CC0 #3948C0 #6E39C0
triadic
#3948C0 #C03948 #48C039
tetradic
#3948C0 #C0398C #C0B139 #39C06E
square
#3948C0 #C0398C #C0B139 #39C06E
split-complementary
#3948C0 #C06E39 #8CC039
monochromatic
#1D2562 #2B3691 #3948C0 #6571D1 #949CDF

Accessibility & contrast

On white

7.34
#3948C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3948C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948C0
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948C0#FFFFFF#000000##FFFFFF
##3948C01.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0050BE
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3948c0;
/* rgb */ color: rgb(57, 72, 192);
/* oklch */ color: oklch(46.7% 0.187 271.5);
Tailwind
colors: {
  custom: {
    50: '#817bd4',
    500: '#3948c0',
    950: '#000000',
  },
}
SCSS
$custom: #3948c0;
$custom-light: #817bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3948c0",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 192
  },
  "hsl": {
    "h": 233.333,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46688,
    "c": 0.18663,
    "h": 271.5
  },
  "luminance": 0.0931
}

Semantic roles & 50–950 ramp

primary
#3948C0
secondary
#CBC38A
accent
#CD4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3948C0

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

Preview Lab → · Contrast checker → · Palette generator →

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