#3954C2#3954C2

#3954C2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.175 H 268.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3954C2
RGBrgb(57, 84, 194)
HSLhsl(228, 55%, 49%)
HSVhsv(228, 71%, 76%)
CMYKcmyk(70.6%, 56.7%, 0%, 23.9%)
CIE-LABlab(39.76, 27.40, -60.60)
CIE-LCHlch(39.76, 66.51, 294.33°)
OKLaboklab(49.1% -0.0041 -0.1746)
OKLCHoklch(49.1% 0.175 268.7)
XYZxyz(14.5919, 11.1041, 52.4028)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3954C2 #C2A739
analogous
#3999C2 #3954C2 #6339C2
triadic
#3954C2 #C23954 #54C239
tetradic
#3954C2 #C23999 #C2A739 #39C263
square
#3954C2 #C23999 #C2A739 #39C263
split-complementary
#3954C2 #C26339 #99C239
monochromatic
#1D2B63 #2B4093 #3954C2 #667BD2 #95A4E0

Accessibility & contrast

On white

6.52
#3954C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3954C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3954C2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3954C2#FFFFFF#000000##FFFFFF
##3954C21.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3954c2;
/* rgb */ color: rgb(57, 84, 194);
/* oklch */ color: oklch(49.1% 0.175 268.7);
Tailwind
colors: {
  custom: {
    50: '#8183d5',
    500: '#3954c2',
    950: '#000000',
  },
}
SCSS
$custom: #3954c2;
$custom-light: #8183d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3954c2",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 228.175,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.17467,
    "h": 268.7
  },
  "luminance": 0.11106
}

Semantic roles & 50–950 ramp

primary
#3954C2
secondary
#CBBF8B
accent
#C14ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3954C2

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

Preview Lab → · Contrast checker → · Palette generator →

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