#3948A2#3948A2

#3948A2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.146 H 272.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3948A2
RGBrgb(57, 72, 162)
HSLhsl(231, 48%, 43%)
HSVhsv(231, 65%, 64%)
CMYKcmyk(64.8%, 55.6%, 0%, 36.5%)
CIE-LABlab(34.22, 23.65, -50.67)
CIE-LCHlch(34.22, 55.92, 295.02°)
OKLaboklab(44.2% 0.005 -0.1456)
OKLCHoklch(44.2% 0.146 272)
XYZxyz(10.5241, 8.1123, 35.1866)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3948A2 #A29339
analogous
#397CA2 #3948A2 #5F39A2
triadic
#3948A2 #A23948 #48A239
tetradic
#3948A2 #A2397C #A29339 #39A25F
square
#3948A2 #A2397C #A29339 #39A25F
split-complementary
#3948A2 #A25F39 #7CA239
monochromatic
#192047 #293475 #3948A2 #5565C3 #828ED3

Accessibility & contrast

On white

8.01
#3948A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3948A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3948A2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3948A2#FFFFFF#000000##FFFFFF
##3948A21.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0155A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3948a2;
/* rgb */ color: rgb(57, 72, 162);
/* oklch */ color: oklch(44.2% 0.146 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b7abe',
    500: '#3948a2',
    950: '#000000',
  },
}
SCSS
$custom: #3948a2;
$custom-light: #7b7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3948a2",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 231.429,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44199,
    "c": 0.14564,
    "h": 272
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#3948A2
secondary
#BDB37A
accent
#C450D8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3948A2

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

Preview Lab → · Contrast checker → · Palette generator →

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