#3F548B#3F548B
#3F548B is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.094 H 266.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #3F548B |
|---|---|
| RGB | rgb(63, 84, 139) |
| HSL | hsl(223, 38%, 40%) |
| HSV | hsv(223, 55%, 55%) |
| CMYK | cmyk(54.7%, 39.6%, 0%, 45.5%) |
| CIE-LAB | lab(36.48, 8.87, -33.10) |
| CIE-LCH | lch(36.48, 34.26, 285.01°) |
| OKLab | oklab(45.55% -0.0051 -0.0937) |
| OKLCH | oklch(45.55% 0.094 266.9) |
| XYZ | xyz(9.8789, 9.2608, 25.6880) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.23
Dusky Blue
#475F94
ΔE00 3.77
Twilight
#4E518B
ΔE00 4.40
Dusk Blue
#26538D
ΔE00 4.54
Dusk
#4E5481
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F548B #8B763F
analogous
#3F7A8B #3F548B #503F8B
triadic
#3F548B #8B3F54 #548B3F
tetradic
#3F548B #8B3F7A #8B763F #3F8B50
square
#3F548B #8B3F7A #8B763F #3F8B50
split-complementary
#3F548B #8B503F #7A8B3F
monochromatic
#192137 #2C3B61 #3F548B #556FB2 #7F93C5
Accessibility & contrast
On white
7.36
#3F548B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#3F548B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F548B
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F548B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F548B | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E598D
Deuteranopia (green-blind)
#35538A
Tritanopia (blue-blind)
#196069
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3f548b; /* rgb */ color: rgb(63, 84, 139); /* oklch */ color: oklch(45.5% 0.094 266.9);
Tailwind
colors: {
custom: {
50: '#7a83ad',
500: '#3f548b',
950: '#000000',
},
}SCSS
$custom: #3f548b; $custom-light: #7a83ad; $custom-dark: #000000;
JSON
{
"hex": "#3f548b",
"rgb": {
"r": 63,
"g": 84,
"b": 139
},
"hsl": {
"h": 223.421,
"s": 37.624,
"l": 39.608
},
"oklch": {
"l": 0.45548,
"c": 0.09382,
"h": 266.9
},
"luminance": 0.09261
}Semantic roles & 50–950 ramp
primary
#3F548B
secondary
#AFA076
accent
#AE5ACE
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F