#4F50AF#4F50AF
#4F50AF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.148 H 278.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4F50AF |
|---|---|
| RGB | rgb(79, 80, 175) |
| HSL | hsl(239, 38%, 50%) |
| HSV | hsv(239, 55%, 69%) |
| CMYK | cmyk(54.9%, 54.3%, 0%, 31.4%) |
| CIE-LAB | lab(38.71, 27.14, -51.07) |
| CIE-LCH | lch(38.71, 57.84, 297.98°) |
| OKLab | oklab(48.25% 0.0228 -0.1461) |
| OKLCH | oklch(48.25% 0.148 278.9) |
| XYZ | xyz(13.8285, 10.4938, 41.8460) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.51
Iris
#6258C4
ΔE00 4.84
Blueberry
#464196
ΔE00 5.65
Twilight
#4E518B
ΔE00 6.51
Warm Blue
#4B57DB
ΔE00 6.51
Blue Blue
#2242C7
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F50AF #AFAE4F
analogous
#4F80AF #4F50AF #7E4FAF
triadic
#4F50AF #AF4F50 #50AF4F
tetradic
#4F50AF #AF4F80 #AFAE4F #4FAF7E
square
#4F50AF #AF4F80 #AFAE4F #4FAF7E
split-complementary
#4F50AF #AF7E4F #80AF4F
monochromatic
#29295B #3C3D85 #4F50AF #797AC2 #A3A3D5
Accessibility & contrast
On white
6.78
#4F50AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#4F50AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F50AF
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F50AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F50AF | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#216677
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4f50af; /* rgb */ color: rgb(79, 80, 175); /* oklch */ color: oklch(48.2% 0.148 278.9);
Tailwind
colors: {
custom: {
50: '#8881c7',
500: '#4f50af',
950: '#000000',
},
}SCSS
$custom: #4f50af; $custom-light: #8881c7; $custom-dark: #000000;
JSON
{
"hex": "#4f50af",
"rgb": {
"r": 79,
"g": 80,
"b": 175
},
"hsl": {
"h": 239.375,
"s": 37.795,
"l": 49.804
},
"oklch": {
"l": 0.48247,
"c": 0.14786,
"h": 278.9
},
"luminance": 0.10495
}Semantic roles & 50–950 ramp
primary
#4F50AF
secondary
#C3C297
accent
#CD5ACE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82