#2F5ABA#2F5ABA
#2F5ABA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.159 H 263.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5ABA |
|---|---|
| RGB | rgb(47, 90, 186) |
| HSL | hsl(221, 60%, 46%) |
| HSV | hsv(221, 75%, 73%) |
| CMYK | cmyk(74.7%, 51.6%, 0%, 27.1%) |
| CIE-LAB | lab(40.35, 19.22, -55.00) |
| CIE-LCH | lch(40.35, 58.26, 289.26°) |
| OKLab | oklab(49.24% -0.018 -0.1582) |
| OKLCH | oklch(49.24% 0.159 263.5) |
| XYZ | xyz(13.6882, 11.4603, 47.9355) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.93
Denim
#1560BD
ΔE00 3.57
Denim Blue
#3B5B92
ΔE00 5.07
Dusky Blue
#475F94
ΔE00 5.85
French Blue
#436BAD
ΔE00 5.97
Azul
#1D5DEC
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5ABA #BA8F2F
analogous
#2F9FBA #2F5ABA #492FBA
triadic
#2F5ABA #BA2F5A #5ABA2F
tetradic
#2F5ABA #BA2F9F #BA8F2F #2FBA49
square
#2F5ABA #BA2F9F #BA8F2F #2FBA49
split-complementary
#2F5ABA #BA492F #9FBA2F
monochromatic
#162B58 #234289 #2F5ABA #537BD3 #84A0E0
Accessibility & contrast
On white
6.38
#2F5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2F5ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5ABA
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5ABA | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C66BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f5aba; /* rgb */ color: rgb(47, 90, 186); /* oklch */ color: oklch(49.2% 0.159 263.5);
Tailwind
colors: {
custom: {
50: '#7b88cf',
500: '#2f5aba',
950: '#000000',
},
}SCSS
$custom: #2f5aba; $custom-light: #7b88cf; $custom-dark: #000000;
JSON
{
"hex": "#2f5aba",
"rgb": {
"r": 47,
"g": 90,
"b": 186
},
"hsl": {
"h": 221.439,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.49243,
"c": 0.15925,
"h": 263.5
},
"luminance": 0.11462
}Semantic roles & 50–950 ramp
primary
#2F5ABA
secondary
#C9B17C
accent
#B245E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82