#4270BF#4270BF
#4270BF is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.2% C 0.133 H 260.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4270BF |
|---|---|
| RGB | rgb(66, 112, 191) |
| HSL | hsl(218, 49%, 50%) |
| HSV | hsv(218, 65%, 75%) |
| CMYK | cmyk(65.4%, 41.4%, 0%, 25.1%) |
| CIE-LAB | lab(47.63, 9.86, -46.16) |
| CIE-LCH | lch(47.63, 47.21, 282.05°) |
| OKLab | oklab(55.16% -0.022 -0.1316) |
| OKLCH | oklch(55.16% 0.133 260.5) |
| XYZ | xyz(17.4416, 16.5065, 51.5470) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.76
Medium Blue
#2C6FBB
ΔE00 3.10
Windows Blue
#3778BF
ΔE00 4.08
Flat Blue
#3C73A8
ΔE00 4.12
Mid Blue
#276AB3
ΔE00 4.23
Cornflower Blue
#5170D7
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4270BF #BF9142
analogous
#42AEBF #4270BF #5242BF
triadic
#4270BF #BF4270 #70BF42
tetradic
#4270BF #BF42AE #BF9142 #42BF52
square
#4270BF #BF42AE #BF9142 #42BF52
split-complementary
#4270BF #BF5242 #AEBF42
monochromatic
#223B65 #325592 #4270BF #7093CE #9DB5DE
Accessibility & contrast
On white
4.88
#4270BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#4270BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4270BF
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4270BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4270BF | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C77C2
Deuteranopia (green-blind)
#396CBD
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4270bf; /* rgb */ color: rgb(66, 112, 191); /* oklch */ color: oklch(55.2% 0.133 260.5);
Tailwind
colors: {
custom: {
50: '#8398d3',
500: '#4270bf',
950: '#000000',
},
}SCSS
$custom: #4270bf; $custom-light: #8398d3; $custom-dark: #000000;
JSON
{
"hex": "#4270bf",
"rgb": {
"r": 66,
"g": 112,
"b": 191
},
"hsl": {
"h": 217.92,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.55158,
"c": 0.1334,
"h": 260.5
},
"luminance": 0.16508
}Semantic roles & 50–950 ramp
primary
#4270BF
secondary
#CAB693
accent
#A64FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83