#4F54CB#4F54CB
#4F54CB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.181 H 276.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4F54CB |
|---|---|
| RGB | rgb(79, 84, 203) |
| HSL | hsl(238, 54%, 55%) |
| HSV | hsv(238, 61%, 80%) |
| CMYK | cmyk(61.1%, 58.6%, 0%, 20.4%) |
| CIE-LAB | lab(41.71, 33.90, -62.59) |
| CIE-LCH | lch(41.71, 71.18, 298.44°) |
| OKLab | oklab(51.11% 0.0192 -0.1799) |
| OKLCH | oklch(51.11% 0.181 276.1) |
| XYZ | xyz(17.1708, 12.3134, 57.9602) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.36
Iris
#6258C4
ΔE00 3.36
Slate Blue
#6A5ACD
ΔE00 4.67
Dark Periwinkle
#665FD1
ΔE00 4.78
Light Indigo
#6D5ACF
ΔE00 5.20
Ocean Blue
#4F42B5
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F54CB #CBC64F
analogous
#4F92CB #4F54CB #884FCB
triadic
#4F54CB #CB4F54 #54CB4F
tetradic
#4F54CB #CB4F92 #CBC64F #4FCB88
square
#4F54CB #CB4F92 #CBC64F #4FCB88
split-complementary
#4F54CB #CB884F #92CB4F
monochromatic
#24287B #3237AA #4F54CB #7E82D9 #ADB0E7
Accessibility & contrast
On white
6.06
#4F54CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#4F54CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F54CB
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F54CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F54CB | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4f54cb; /* rgb */ color: rgb(79, 84, 203); /* oklch */ color: oklch(51.1% 0.181 276.1);
Tailwind
colors: {
custom: {
50: '#8c84dc',
500: '#4f54cb',
950: '#000000',
},
}SCSS
$custom: #4f54cb; $custom-light: #8c84dc; $custom-dark: #000000;
JSON
{
"hex": "#4f54cb",
"rgb": {
"r": 79,
"g": 84,
"b": 203
},
"hsl": {
"h": 237.581,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.51109,
"c": 0.18095,
"h": 276.1
},
"luminance": 0.12315
}Semantic roles & 50–950 ramp
primary
#4F54CB
secondary
#D5D3A1
accent
#D84ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83