#4F54C8#4F54C8
#4F54C8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.177 H 276.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #4F54C8 |
|---|---|
| RGB | rgb(79, 84, 200) |
| HSL | hsl(238, 52%, 55%) |
| HSV | hsv(238, 61%, 78%) |
| CMYK | cmyk(60.5%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(41.49, 32.90, -61.22) |
| CIE-LCH | lch(41.49, 69.50, 298.26°) |
| OKLab | oklab(50.87% 0.0192 -0.1759) |
| OKLCH | oklch(50.87% 0.177 276.2) |
| XYZ | xyz(16.8167, 12.1717, 56.0956) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.73
Iris
#6258C4
ΔE00 3.30
Slate Blue
#6A5ACD
ΔE00 4.76
Dark Periwinkle
#665FD1
ΔE00 4.91
Light Indigo
#6D5ACF
ΔE00 5.32
Ocean Blue
#4F42B5
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F54C8 #C8C34F
analogous
#4F90C8 #4F54C8 #874FC8
triadic
#4F54C8 #C84F54 #54C84F
tetradic
#4F54C8 #C84F90 #C8C34F #4FC887
square
#4F54C8 #C84F90 #C8C34F #4FC887
split-complementary
#4F54C8 #C8874F #90C84F
monochromatic
#252977 #3439A6 #4F54C8 #7E81D7 #ACAFE5
Accessibility & contrast
On white
6.11
#4F54C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#4F54C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F54C8
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F54C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F54C8 | 1.00 | 6.11 | 3.43 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4f54c8; /* rgb */ color: rgb(79, 84, 200); /* oklch */ color: oklch(50.9% 0.177 276.2);
Tailwind
colors: {
custom: {
50: '#8c84da',
500: '#4f54c8',
950: '#000000',
},
}SCSS
$custom: #4f54c8; $custom-light: #8c84da; $custom-dark: #000000;
JSON
{
"hex": "#4f54c8",
"rgb": {
"r": 79,
"g": 84,
"b": 200
},
"hsl": {
"h": 237.521,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.50874,
"c": 0.17694,
"h": 276.2
},
"luminance": 0.12173
}Semantic roles & 50–950 ramp
primary
#4F54C8
secondary
#D3D1A0
accent
#D64CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83