#3F5BAF#3F5BAF
#3F5BAF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.138 H 267.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5BAF |
|---|---|
| RGB | rgb(63, 91, 175) |
| HSL | hsl(225, 47%, 47%) |
| HSV | hsv(225, 64%, 69%) |
| CMYK | cmyk(64%, 48%, 0%, 31.4%) |
| CIE-LAB | lab(40.63, 16.96, -48.05) |
| CIE-LCH | lch(40.63, 50.96, 289.45°) |
| OKLab | oklab(49.42% -0.0063 -0.1375) |
| OKLCH | oklch(49.42% 0.138 267.4) |
| XYZ | xyz(13.5262, 11.6329, 42.0817) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 4.16
Dusky Blue
#475F94
ΔE00 4.23
Sapphire
#0F52BA
ΔE00 4.45
Denim
#1560BD
ΔE00 5.10
French Blue
#436BAD
ΔE00 5.78
Denim (survey)
#3B638C
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5BAF #AF933F
analogous
#3F93AF #3F5BAF #5B3FAF
triadic
#3F5BAF #AF3F5B #5BAF3F
tetradic
#3F5BAF #AF3F93 #AF933F #3FAF5B
square
#3F5BAF #AF3F93 #AF933F #3FAF5B
split-complementary
#3F5BAF #AF5B3F #93AF3F
monochromatic
#1F2C55 #2F4482 #3F5BAF #647DC7 #91A3D7
Accessibility & contrast
On white
6.31
#3F5BAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#3F5BAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5BAF
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5BAF | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#1A5BAD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3f5baf; /* rgb */ color: rgb(63, 91, 175); /* oklch */ color: oklch(49.4% 0.138 267.4);
Tailwind
colors: {
custom: {
50: '#7f89c7',
500: '#3f5baf',
950: '#000000',
},
}SCSS
$custom: #3f5baf; $custom-light: #7f89c7; $custom-dark: #000000;
JSON
{
"hex": "#3f5baf",
"rgb": {
"r": 63,
"g": 91,
"b": 175
},
"hsl": {
"h": 225,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.49424,
"c": 0.13762,
"h": 267.4
},
"luminance": 0.11634
}Semantic roles & 50–950 ramp
primary
#3F5BAF
secondary
#C3B487
accent
#B551D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82