#3954A7#3954A7

#3954A7 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.137 H 267.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#3954A7
RGBrgb(57, 84, 167)
HSLhsl(225, 49%, 44%)
HSVhsv(225, 66%, 65%)
CMYKcmyk(65.9%, 49.7%, 0%, 34.5%)
CIE-LABlab(37.84, 17.57, -47.81)
CIE-LCHlch(37.84, 50.93, 290.18°)
OKLaboklab(47.05% -0.0062 -0.137)
OKLCHoklch(47.05% 0.137 267.4)
XYZxyz(11.8303, 9.9994, 37.8584)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3954A7 #A78C39
analogous
#398BA7 #3954A7 #5539A7
triadic
#3954A7 #A73954 #54A739
tetradic
#3954A7 #A7398B #A78C39 #39A755
square
#3954A7 #A7398B #A78C39 #39A755
split-complementary
#3954A7 #A75539 #8BA739
monochromatic
#1A264C #293D79 #3954A7 #5773C6 #8599D5

Accessibility & contrast

On white

7.00
#3954A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3954A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3954A7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3954A7#FFFFFF#000000##FFFFFF
##3954A71.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275EAA
Deuteranopia (green-blind)
#0B54A5
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3954a7;
/* rgb */ color: rgb(57, 84, 167);
/* oklch */ color: oklch(47.0% 0.137 267.4);
Tailwind
colors: {
  custom: {
    50: '#7b83c2',
    500: '#3954a7',
    950: '#000000',
  },
}
SCSS
$custom: #3954a7;
$custom-light: #7b83c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3954a7",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 167
  },
  "hsl": {
    "h": 225.273,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47049,
    "c": 0.13711,
    "h": 267.4
  },
  "luminance": 0.10001
}

Semantic roles & 50–950 ramp

primary
#3954A7
secondary
#BFAF7D
accent
#B74FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3954A7

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

Preview Lab → · Contrast checker → · Palette generator →

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