#4740C2#4740C2
#4740C2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.4% C 0.195 H 278.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #4740C2 |
|---|---|
| RGB | rgb(71, 64, 194) |
| HSL | hsl(243, 52%, 51%) |
| HSV | hsv(243, 67%, 76%) |
| CMYK | cmyk(63.4%, 67%, 0%, 23.9%) |
| CIE-LAB | lab(35.79, 41.86, -67.03) |
| CIE-LCH | lch(35.79, 79.03, 301.98°) |
| OKLab | oklab(46.41% 0.0271 -0.1933) |
| OKLCH | oklch(46.41% 0.195 278) |
| XYZ | xyz(14.1664, 8.9003, 51.9999) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.14
Blue With A Hint Of Purple
#533CC6
ΔE00 2.16
Blurple
#5539CC
ΔE00 3.03
Blue Blue
#2242C7
ΔE00 3.79
Bluey Purple
#6241C7
ΔE00 4.10
Blue (survey)
#0343DF
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4740C2 #BBC240
analogous
#407AC2 #4740C2 #8840C2
triadic
#4740C2 #C24740 #40C247
tetradic
#4740C2 #C2407A #BBC240 #40C288
square
#4740C2 #C2407A #BBC240 #40C288
split-complementary
#4740C2 #C28840 #7AC240
monochromatic
#252167 #353095 #4740C2 #746ED1 #A09DE0
Accessibility & contrast
On white
7.55
#4740C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#4740C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4740C2
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4740C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4740C2 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #4740c2; /* rgb */ color: rgb(71, 64, 194); /* oklch */ color: oklch(46.4% 0.195 278.0);
Tailwind
colors: {
custom: {
50: '#8876d6',
500: '#4740c2',
950: '#000000',
},
}SCSS
$custom: #4740c2; $custom-light: #8876d6; $custom-dark: #000000;
JSON
{
"hex": "#4740c2",
"rgb": {
"r": 71,
"g": 64,
"b": 194
},
"hsl": {
"h": 243.231,
"s": 51.587,
"l": 50.588
},
"oklch": {
"l": 0.46406,
"c": 0.1952,
"h": 278
},
"luminance": 0.08901
}Semantic roles & 50–950 ramp
primary
#4740C2
secondary
#C9CC92
accent
#DB4DD3
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83