#3948B8#3948B8

#3948B8 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.176 H 271.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#3948B8
RGBrgb(57, 72, 184)
HSLhsl(233, 53%, 47%)
HSVhsv(233, 69%, 72%)
CMYKcmyk(69%, 60.9%, 0%, 27.8%)
CIE-LABlab(35.92, 31.53, -61.00)
CIE-LCHlch(35.92, 68.67, 297.34°)
OKLaboklab(46% 0.0053 -0.1759)
OKLCHoklch(46% 0.176 271.7)
XYZxyz(12.6535, 8.9641, 46.4015)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948B8 #B8A939
analogous
#3988B8 #3948B8 #6939B8
triadic
#3948B8 #B83948 #48B839
tetradic
#3948B8 #B83988 #B8A939 #39B869
square
#3948B8 #B83988 #B8A939 #39B869
split-complementary
#3948B8 #B86939 #88B839
monochromatic
#1C235B #2B3689 #3948B8 #606DCE #8F98DC

Accessibility & contrast

On white

7.52
#3948B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3948B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948B8
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948B8#FFFFFF#000000##FFFFFF
##3948B81.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3948b8;
/* rgb */ color: rgb(57, 72, 184);
/* oklch */ color: oklch(46.0% 0.176 271.7);
Tailwind
colors: {
  custom: {
    50: '#7f7bce',
    500: '#3948b8',
    950: '#000000',
  },
}
SCSS
$custom: #3948b8;
$custom-light: #7f7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#3948b8",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 184
  },
  "hsl": {
    "h": 232.913,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45998,
    "c": 0.176,
    "h": 271.7
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#3948B8
secondary
#C7BF86
accent
#CB4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3948B8

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

Preview Lab → · Contrast checker → · Palette generator →

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