#4274C2#4274C2
#4274C2 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.2% C 0.133 H 259.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4274C2 |
|---|---|
| RGB | rgb(66, 116, 194) |
| HSL | hsl(217, 51%, 51%) |
| HSV | hsv(217, 66%, 76%) |
| CMYK | cmyk(66%, 40.2%, 0%, 23.9%) |
| CIE-LAB | lab(48.94, 8.43, -45.82) |
| CIE-LCH | lch(48.94, 46.59, 280.43°) |
| OKLab | oklab(56.22% -0.0254 -0.1305) |
| OKLCH | oklch(56.22% 0.133 259) |
| XYZ | xyz(18.2263, 17.5423, 53.4539) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.84
Medium Blue
#2C6FBB
ΔE00 3.25
Flat Blue
#3C73A8
ΔE00 3.93
French Blue
#436BAD
ΔE00 4.08
Bluish
#2976BB
ΔE00 4.19
Cerulean Blue
#056EEE
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4274C2 #C29042
analogous
#42B4C2 #4274C2 #5042C2
triadic
#4274C2 #C24274 #74C242
tetradic
#4274C2 #C242B4 #C29042 #42C250
square
#4274C2 #C242B4 #C29042 #42C250
split-complementary
#4274C2 #C25042 #B4C242
monochromatic
#223D68 #315896 #4274C2 #7096D1 #9FB8E0
Accessibility & contrast
On white
4.66
#4274C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#4274C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #4274C2
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4274C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4274C2 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#517BC5
Deuteranopia (green-blind)
#3D6FC0
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #4274c2; /* rgb */ color: rgb(66, 116, 194); /* oklch */ color: oklch(56.2% 0.133 259.0);
Tailwind
colors: {
custom: {
50: '#839bd5',
500: '#4274c2',
950: '#000000',
},
}SCSS
$custom: #4274c2; $custom-light: #839bd5; $custom-dark: #000000;
JSON
{
"hex": "#4274c2",
"rgb": {
"r": 66,
"g": 116,
"b": 194
},
"hsl": {
"h": 216.563,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.56222,
"c": 0.13294,
"h": 259
},
"luminance": 0.17544
}Semantic roles & 50–950 ramp
primary
#4274C2
secondary
#CCB694
accent
#A34DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83