#3954A4#3954A4

#3954A4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.133 H 267.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3954A4
RGBrgb(57, 84, 164)
HSLhsl(225, 48%, 43%)
HSVhsv(225, 65%, 64%)
CMYKcmyk(65.2%, 48.8%, 0%, 35.7%)
CIE-LABlab(37.64, 16.48, -46.34)
CIE-LCHlch(37.64, 49.18, 289.58°)
OKLaboklab(46.84% -0.0066 -0.1326)
OKLCHoklch(46.84% 0.133 267.1)
XYZxyz(11.5562, 9.8898, 36.4147)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3954A4 #A48939
analogous
#3989A4 #3954A4 #5339A4
triadic
#3954A4 #A43954 #54A439
tetradic
#3954A4 #A43989 #A48939 #39A453
square
#3954A4 #A43989 #A48939 #39A453
split-complementary
#3954A4 #A45339 #89A439
monochromatic
#192549 #293D77 #3954A4 #5672C4 #8398D4

Accessibility & contrast

On white

7.05
#3954A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3954A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3954A4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3954A4#FFFFFF#000000##FFFFFF
##3954A41.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA7
Deuteranopia (green-blind)
#1354A2
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3954a4;
/* rgb */ color: rgb(57, 84, 164);
/* oklch */ color: oklch(46.8% 0.133 267.1);
Tailwind
colors: {
  custom: {
    50: '#7b83bf',
    500: '#3954a4',
    950: '#000000',
  },
}
SCSS
$custom: #3954a4;
$custom-light: #7b83bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3954a4",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 164
  },
  "hsl": {
    "h": 224.86,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46835,
    "c": 0.13282,
    "h": 267.1
  },
  "luminance": 0.09891
}

Semantic roles & 50–950 ramp

primary
#3954A4
secondary
#BEAD7B
accent
#B650D8
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3954A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3954A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva