#295FBA#295FBA
#295FBA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.155 H 260.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #295FBA |
|---|---|
| RGB | rgb(41, 95, 186) |
| HSL | hsl(218, 64%, 45%) |
| HSV | hsv(218, 78%, 73%) |
| CMYK | cmyk(78%, 48.9%, 0%, 27.1%) |
| CIE-LAB | lab(41.53, 15.24, -53.10) |
| CIE-LCH | lch(41.53, 55.24, 286.01°) |
| OKLab | oklab(50.09% -0.0263 -0.1526) |
| OKLCH | oklch(50.09% 0.155 260.2) |
| XYZ | xyz(13.8664, 12.1994, 48.0688) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.56
Sapphire
#0F52BA
ΔE00 4.30
French Blue
#436BAD
ΔE00 4.47
Mid Blue
#276AB3
ΔE00 4.63
Denim Blue
#3B5B92
ΔE00 5.17
Denim (survey)
#3B638C
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#295FBA #BA8429
analogous
#29A8BA #295FBA #3B29BA
triadic
#295FBA #BA295F #5FBA29
tetradic
#295FBA #BA29A8 #BA8429 #29BA3B
square
#295FBA #BA29A8 #BA8429 #29BA3B
split-complementary
#295FBA #BA3B29 #A8BA29
monochromatic
#132C56 #1E4588 #295FBA #497ED7 #7BA2E2
Accessibility & contrast
On white
6.10
#295FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#295FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #295FBA
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##295FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##295FBA | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A69BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #295fba; /* rgb */ color: rgb(41, 95, 186); /* oklch */ color: oklch(50.1% 0.155 260.2);
Tailwind
colors: {
custom: {
50: '#798bcf',
500: '#295fba',
950: '#000000',
},
}SCSS
$custom: #295fba; $custom-light: #798bcf; $custom-dark: #000000;
JSON
{
"hex": "#295fba",
"rgb": {
"r": 41,
"g": 95,
"b": 186
},
"hsl": {
"h": 217.655,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.50089,
"c": 0.15488,
"h": 260.2
},
"luminance": 0.12201
}Semantic roles & 50–950 ramp
primary
#295FBA
secondary
#CAAA75
accent
#A941E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82