#3959D0#3959D0

#3959D0 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.187 H 267.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#3959D0
RGBrgb(57, 89, 208)
HSLhsl(227, 62%, 52%)
HSVhsv(227, 73%, 82%)
CMYKcmyk(72.6%, 57.2%, 0%, 18.4%)
CIE-LABlab(42.10, 29.27, -64.89)
CIE-LCHlch(42.10, 71.18, 294.28°)
OKLaboklab(51.19% -0.0074 -0.1871)
OKLCHoklch(51.19% 0.187 267.7)
XYZxyz(16.6409, 12.5669, 61.2109)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959D0 #D0B039
analogous
#39A5D0 #3959D0 #6539D0
triadic
#3959D0 #D03959 #59D039
tetradic
#3959D0 #D039A5 #D0B039 #39D065
square
#3959D0 #D039A5 #D0B039 #39D065
split-complementary
#3959D0 #D06539 #A5D039
monochromatic
#1B2E73 #2742A5 #3959D0 #6A82DC #9CACE7

Accessibility & contrast

On white

5.98
#3959D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3959D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959D0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959D0#FFFFFF#000000##FFFFFF
##3959D01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#005DCE
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3959d0;
/* rgb */ color: rgb(57, 89, 208);
/* oklch */ color: oklch(51.2% 0.187 267.7);
Tailwind
colors: {
  custom: {
    50: '#8387df',
    500: '#3959d0',
    950: '#000000',
  },
}
SCSS
$custom: #3959d0;
$custom-light: #8387df;
$custom-dark: #000000;
JSON
{
  "hex": "#3959d0",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 208
  },
  "hsl": {
    "h": 227.285,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51192,
    "c": 0.18729,
    "h": 267.7
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#3959D0
secondary
#D3C591
accent
#C243E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3959D0

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

Preview Lab → · Contrast checker → · Palette generator →

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