#3954D0#3954D0

#3954D0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.193 H 268.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#3954D0
RGBrgb(57, 84, 208)
HSLhsl(229, 62%, 52%)
HSVhsv(229, 73%, 82%)
CMYKcmyk(72.6%, 59.6%, 0%, 18.4%)
CIE-LABlab(40.84, 32.46, -66.95)
CIE-LCHlch(40.84, 74.40, 295.87°)
OKLaboklab(50.25% -0.0038 -0.1933)
OKLCHoklch(50.25% 0.193 268.9)
XYZxyz(16.2389, 11.7629, 61.0769)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3954D0 #D0B539
analogous
#399FD0 #3954D0 #6A39D0
triadic
#3954D0 #D03954 #54D039
tetradic
#3954D0 #D0399F #D0B539 #39D06A
square
#3954D0 #D0399F #D0B539 #39D06A
split-complementary
#3954D0 #D06A39 #9FD039
monochromatic
#1B2B73 #273EA5 #3954D0 #6A7FDC #9CA9E7

Accessibility & contrast

On white

6.26
#3954D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3954D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3954D0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3954D0#FFFFFF#000000##FFFFFF
##3954D01.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3954d0;
/* rgb */ color: rgb(57, 84, 208);
/* oklch */ color: oklch(50.2% 0.193 268.9);
Tailwind
colors: {
  custom: {
    50: '#8483df',
    500: '#3954d0',
    950: '#000000',
  },
}
SCSS
$custom: #3954d0;
$custom-light: #8483df;
$custom-dark: #000000;
JSON
{
  "hex": "#3954d0",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 208
  },
  "hsl": {
    "h": 229.272,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.1933,
    "h": 268.9
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#3954D0
secondary
#D3C891
accent
#C843E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3954D0

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

Preview Lab → · Contrast checker → · Palette generator →

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