#3959CC#3959CC
#3959CC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.182 H 267.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3959CC |
|---|---|
| RGB | rgb(57, 89, 204) |
| HSL | hsl(227, 59%, 51%) |
| HSV | hsv(227, 72%, 80%) |
| CMYK | cmyk(72.1%, 56.4%, 0%, 20%) |
| CIE-LAB | lab(41.80, 27.82, -63.07) |
| CIE-LCH | lch(41.80, 68.93, 293.80°) |
| OKLab | oklab(50.87% -0.0076 -0.1818) |
| OKLCH | oklch(50.87% 0.182 267.6) |
| XYZ | xyz(16.1550, 12.3726, 58.6518) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.62
Azul
#1D5DEC
ΔE00 4.09
Sapphire
#0F52BA
ΔE00 4.80
Denim
#1560BD
ΔE00 5.94
Royal Blue
#4169E1
ΔE00 5.99
Electric Blue
#0652FF
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3959CC #CCAC39
analogous
#39A2CC #3959CC #6239CC
triadic
#3959CC #CC3959 #59CC39
tetradic
#3959CC #CC39A2 #CCAC39 #39CC62
square
#3959CC #CC39A2 #CCAC39 #39CC62
split-complementary
#3959CC #CC6239 #A2CC39
monochromatic
#1C2E6E #29439F #3959CC #6A82D9 #9AABE5
Accessibility & contrast
On white
6.04
#3959CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#3959CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3959CC
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3959CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3959CC | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3959cc; /* rgb */ color: rgb(57, 89, 204); /* oklch */ color: oklch(50.9% 0.182 267.6);
Tailwind
colors: {
custom: {
50: '#8387dc',
500: '#3959cc',
950: '#000000',
},
}SCSS
$custom: #3959cc; $custom-light: #8387dc; $custom-dark: #000000;
JSON
{
"hex": "#3959cc",
"rgb": {
"r": 57,
"g": 89,
"b": 204
},
"hsl": {
"h": 226.939,
"s": 59.036,
"l": 51.176
},
"oklch": {
"l": 0.50871,
"c": 0.18197,
"h": 267.6
},
"luminance": 0.12374
}Semantic roles & 50–950 ramp
primary
#3959CC
secondary
#D1C390
accent
#C046E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83