#2F5EBA#2F5EBA
#2F5EBA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.154 H 262.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5EBA |
|---|---|
| RGB | rgb(47, 94, 186) |
| HSL | hsl(220, 60%, 46%) |
| HSV | hsv(220, 75%, 73%) |
| CMYK | cmyk(74.7%, 49.5%, 0%, 27.1%) |
| CIE-LAB | lab(41.46, 16.61, -53.20) |
| CIE-LCH | lch(41.46, 55.73, 287.34°) |
| OKLab | oklab(50.09% -0.0213 -0.1529) |
| OKLCH | oklch(50.09% 0.154 262.1) |
| XYZ | xyz(14.0347, 12.1534, 48.0510) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.43
Sapphire
#0F52BA
ΔE00 4.01
French Blue
#436BAD
ΔE00 4.69
Denim Blue
#3B5B92
ΔE00 5.05
Mid Blue
#276AB3
ΔE00 5.36
Denim (survey)
#3B638C
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5EBA #BA8B2F
analogous
#2FA3BA #2F5EBA #452FBA
triadic
#2F5EBA #BA2F5E #5EBA2F
tetradic
#2F5EBA #BA2FA3 #BA8B2F #2FBA45
square
#2F5EBA #BA2FA3 #BA8B2F #2FBA45
split-complementary
#2F5EBA #BA452F #A3BA2F
monochromatic
#162D58 #234589 #2F5EBA #537ED3 #84A3E0
Accessibility & contrast
On white
6.12
#2F5EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#2F5EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5EBA
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5EBA | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2869BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2f5eba; /* rgb */ color: rgb(47, 94, 186); /* oklch */ color: oklch(50.1% 0.154 262.1);
Tailwind
colors: {
custom: {
50: '#7b8bcf',
500: '#2f5eba',
950: '#000000',
},
}SCSS
$custom: #2f5eba; $custom-light: #7b8bcf; $custom-dark: #000000;
JSON
{
"hex": "#2f5eba",
"rgb": {
"r": 47,
"g": 94,
"b": 186
},
"hsl": {
"h": 219.712,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.50092,
"c": 0.15435,
"h": 262.1
},
"luminance": 0.12155
}Semantic roles & 50–950 ramp
primary
#2F5EBA
secondary
#C9AF7C
accent
#AD45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82