#3F507A#3F507A
#3F507A is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.6% C 0.073 H 266.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3F507A |
|---|---|
| RGB | rgb(63, 80, 122) |
| HSL | hsl(223, 32%, 36%) |
| HSV | hsv(223, 48%, 48%) |
| CMYK | cmyk(48.4%, 34.4%, 0%, 52.2%) |
| CIE-LAB | lab(34.39, 5.77, -25.94) |
| CIE-LCH | lch(34.39, 26.57, 282.54°) |
| OKLab | oklab(43.64% -0.0043 -0.0729) |
| OKLCH | oklch(43.64% 0.073 266.6) |
| XYZ | xyz(8.4303, 8.1987, 19.5469) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 3.85
Twilight
#4E518B
ΔE00 4.73
Denim Blue
#3B5B92
ΔE00 5.60
Dusky Blue
#475F94
ΔE00 6.01
Dusk Blue
#26538D
ΔE00 6.02
Cobalt (survey)
#1E488F
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F507A #7A693F
analogous
#3F6E7A #3F507A #4C3F7A
triadic
#3F507A #7A3F50 #507A3F
tetradic
#3F507A #7A3F6E #7A693F #3F7A4C
square
#3F507A #7A3F6E #7A693F #3F7A4C
split-complementary
#3F507A #7A4C3F #6E7A3F
monochromatic
#151B29 #2A3652 #3F507A #546AA2 #798CBA
Accessibility & contrast
On white
7.96
#3F507A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#3F507A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F507A
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F507A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F507A | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41547C
Deuteranopia (green-blind)
#3A4E79
Tritanopia (blue-blind)
#28595F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3f507a; /* rgb */ color: rgb(63, 80, 122); /* oklch */ color: oklch(43.6% 0.073 266.6);
Tailwind
colors: {
custom: {
50: '#7780a0',
500: '#3f507a',
950: '#000000',
},
}SCSS
$custom: #3f507a; $custom-light: #7780a0; $custom-dark: #000000;
JSON
{
"hex": "#3f507a",
"rgb": {
"r": 63,
"g": 80,
"b": 122
},
"hsl": {
"h": 222.712,
"s": 31.892,
"l": 36.275
},
"oklch": {
"l": 0.43636,
"c": 0.07299,
"h": 266.6
},
"luminance": 0.08199
}Semantic roles & 50–950 ramp
primary
#3F507A
secondary
#A49570
accent
#AA60C8
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0F
muted
#7B7C7E