#3F5188#3F5188
#3F5188 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.093 H 268.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5188 |
|---|---|
| RGB | rgb(63, 81, 136) |
| HSL | hsl(225, 37%, 39%) |
| HSV | hsv(225, 54%, 53%) |
| CMYK | cmyk(53.7%, 40.4%, 0%, 46.7%) |
| CIE-LAB | lab(35.44, 9.80, -32.92) |
| CIE-LCH | lch(35.44, 34.35, 286.58°) |
| OKLab | oklab(44.69% -0.002 -0.0932) |
| OKLCH | oklch(44.69% 0.093 268.8) |
| XYZ | xyz(9.4348, 8.7185, 24.4735) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.77
Dusk
#4E5481
ΔE00 4.30
Denim Blue
#3B5B92
ΔE00 4.38
Dusky Blue
#475F94
ΔE00 4.84
Dusk Blue
#26538D
ΔE00 5.18
Cobalt (survey)
#1E488F
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5188 #88763F
analogous
#3F7688 #3F5188 #523F88
triadic
#3F5188 #883F51 #51883F
tetradic
#3F5188 #883F76 #88763F #3F8852
square
#3F5188 #883F76 #88763F #3F8852
split-complementary
#3F5188 #88523F #76883F
monochromatic
#181F34 #2C385E #3F5188 #546BB0 #7E8FC3
Accessibility & contrast
On white
7.65
#3F5188 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#3F5188 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F5188
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5188 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5188 | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B578A
Deuteranopia (green-blind)
#335087
Tritanopia (blue-blind)
#1D5D66
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3f5188; /* rgb */ color: rgb(63, 81, 136); /* oklch */ color: oklch(44.7% 0.093 268.8);
Tailwind
colors: {
custom: {
50: '#7981ab',
500: '#3f5188',
950: '#000000',
},
}SCSS
$custom: #3f5188; $custom-light: #7981ab; $custom-dark: #000000;
JSON
{
"hex": "#3f5188",
"rgb": {
"r": 63,
"g": 81,
"b": 136
},
"hsl": {
"h": 225.205,
"s": 36.683,
"l": 39.02
},
"oklch": {
"l": 0.44687,
"c": 0.0932,
"h": 268.8
},
"luminance": 0.08719
}Semantic roles & 50–950 ramp
primary
#3F5188
secondary
#AEA075
accent
#B15BCD
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F