#3954DB#3954DB

#3954DB is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.2% C 0.208 H 268.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#3954DB
RGBrgb(57, 84, 219)
HSLhsl(230, 69%, 54%)
HSVhsv(230, 74%, 86%)
CMYKcmyk(74%, 61.6%, 0%, 14.1%)
CIE-LABlab(41.73, 36.39, -71.81)
CIE-LCHlch(41.73, 80.50, 296.87°)
OKLaboklab(51.18% -0.0039 -0.2075)
OKLCHoklch(51.18% 0.208 268.9)
XYZxyz(17.6394, 12.3231, 68.4530)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3954DB #DBC039
analogous
#39A5DB #3954DB #6F39DB
triadic
#3954DB #DB3954 #54DB39
tetradic
#3954DB #DB39A5 #DBC039 #39DB6F
square
#3954DB #DB39A5 #DBC039 #39DB6F
split-complementary
#3954DB #DB6F39 #A5DB39
monochromatic
#182982 #213AB6 #3954DB #6D81E4 #A1ADEE

Accessibility & contrast

On white

6.06
#3954DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3954DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3954DB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3954DB#FFFFFF#000000##FFFFFF
##3954DB1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3954db;
/* rgb */ color: rgb(57, 84, 219);
/* oklch */ color: oklch(51.2% 0.208 268.9);
Tailwind
colors: {
  custom: {
    50: '#8684e7',
    500: '#3954db',
    950: '#000000',
  },
}
SCSS
$custom: #3954db;
$custom-light: #8684e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3954db",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 230,
    "s": 69.231,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51181,
    "c": 0.20756,
    "h": 268.9
  },
  "luminance": 0.12325
}

Semantic roles & 50–950 ramp

primary
#3954DB
secondary
#DACF95
accent
#CF3CEC
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3954DB

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

Preview Lab → · Contrast checker → · Palette generator →

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