#3F509B#3F509B
#3F509B is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.123 H 271.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3F509B |
|---|---|
| RGB | rgb(63, 80, 155) |
| HSL | hsl(229, 42%, 43%) |
| HSV | hsv(229, 59%, 61%) |
| CMYK | cmyk(59.4%, 48.4%, 0%, 39.2%) |
| CIE-LAB | lab(36.29, 17.03, -43.09) |
| CIE-LCH | lch(36.29, 46.34, 291.57°) |
| OKLab | oklab(45.71% 0.0026 -0.123) |
| OKLCH | oklch(45.71% 0.123 271.2) |
| XYZ | xyz(10.8330, 9.1598, 32.2011) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.72
Denim Blue
#3B5B92
ΔE00 4.92
Cobalt (survey)
#1E488F
ΔE00 5.13
Dusky Blue
#475F94
ΔE00 5.38
Cobalt
#0047AB
ΔE00 5.72
Dusk Blue
#26538D
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F509B #9B8A3F
analogous
#3F7E9B #3F509B #5C3F9B
triadic
#3F509B #9B3F50 #509B3F
tetradic
#3F509B #9B3F7E #9B8A3F #3F9B5C
square
#3F509B #9B3F7E #9B8A3F #3F9B5C
split-complementary
#3F509B #9B5C3F #7E9B3F
monochromatic
#1C2344 #2D3A6F #3F509B #5B6DBC #8694CE
Accessibility & contrast
On white
7.41
#3F509B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#3F509B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F509B
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F509B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F509B | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5A9E
Deuteranopia (green-blind)
#1D5299
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #3f509b; /* rgb */ color: rgb(63, 80, 155); /* oklch */ color: oklch(45.7% 0.123 271.2);
Tailwind
colors: {
custom: {
50: '#7c80b9',
500: '#3f509b',
950: '#000000',
},
}SCSS
$custom: #3f509b; $custom-light: #7c80b9; $custom-dark: #000000;
JSON
{
"hex": "#3f509b",
"rgb": {
"r": 63,
"g": 80,
"b": 155
},
"hsl": {
"h": 228.913,
"s": 42.202,
"l": 42.745
},
"oklch": {
"l": 0.4571,
"c": 0.12307,
"h": 271.2
},
"luminance": 0.09161
}Semantic roles & 50–950 ramp
primary
#3F509B
secondary
#B8AE7D
accent
#BB56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80