#4F5ABA#4F5ABA
#4F5ABA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.150 H 274.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5ABA |
|---|---|
| RGB | rgb(79, 90, 186) |
| HSL | hsl(234, 44%, 52%) |
| HSV | hsv(234, 58%, 73%) |
| CMYK | cmyk(57.5%, 51.6%, 0%, 27.1%) |
| CIE-LAB | lab(42.03, 24.45, -52.20) |
| CIE-LCH | lch(42.03, 57.64, 295.10°) |
| OKLab | oklab(50.97% 0.0127 -0.1493) |
| OKLCH | oklch(50.97% 0.15 274.9) |
| XYZ | xyz(15.7407, 12.5186, 48.0317) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.09
Warm Blue
#4B57DB
ΔE00 4.63
Dark Periwinkle
#665FD1
ΔE00 5.37
Slate Blue
#6A5ACD
ΔE00 5.76
Light Indigo
#6D5ACF
ΔE00 6.38
Dusky Blue
#475F94
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5ABA #BAAF4F
analogous
#4F8FBA #4F5ABA #7A4FBA
triadic
#4F5ABA #BA4F5A #5ABA4F
tetradic
#4F5ABA #BA4F8F #BAAF4F #4FBA7A
square
#4F5ABA #BA4F8F #BAAF4F #4FBA7A
split-complementary
#4F5ABA #BA7A4F #8FBA4F
monochromatic
#282F66 #394392 #4F5ABA #7B83CB #A7ACDC
Accessibility & contrast
On white
5.99
#4F5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#4F5ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5ABA
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5ABA | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2568BD
Deuteranopia (green-blind)
#0F5FB8
Tritanopia (blue-blind)
#087081
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4f5aba; /* rgb */ color: rgb(79, 90, 186); /* oklch */ color: oklch(51.0% 0.150 274.9);
Tailwind
colors: {
custom: {
50: '#8988cf',
500: '#4f5aba',
950: '#000000',
},
}SCSS
$custom: #4f5aba; $custom-light: #8988cf; $custom-dark: #000000;
JSON
{
"hex": "#4f5aba",
"rgb": {
"r": 79,
"g": 90,
"b": 186
},
"hsl": {
"h": 233.832,
"s": 43.673,
"l": 51.961
},
"oklch": {
"l": 0.50969,
"c": 0.14985,
"h": 274.9
},
"luminance": 0.1252
}Semantic roles & 50–950 ramp
primary
#4F5ABA
secondary
#CAC59B
accent
#C654D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82