#295EBC#295EBC
#295EBC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.159 H 260.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #295EBC |
|---|---|
| RGB | rgb(41, 94, 188) |
| HSL | hsl(218, 64%, 45%) |
| HSV | hsv(218, 78%, 74%) |
| CMYK | cmyk(78.2%, 50%, 0%, 26.3%) |
| CIE-LAB | lab(41.38, 16.66, -54.50) |
| CIE-LCH | lch(41.38, 56.99, 286.99°) |
| OKLab | oklab(50.02% -0.0252 -0.1568) |
| OKLCH | oklch(50.02% 0.159 260.9) |
| XYZ | xyz(13.9910, 12.1060, 49.1665) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.92
Sapphire
#0F52BA
ΔE00 3.96
French Blue
#436BAD
ΔE00 4.80
Mid Blue
#276AB3
ΔE00 5.09
Denim Blue
#3B5B92
ΔE00 5.30
Denim (survey)
#3B638C
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#295EBC #BC8729
analogous
#29A8BC #295EBC #3D29BC
triadic
#295EBC #BC295E #5EBC29
tetradic
#295EBC #BC29A8 #BC8729 #29BC3D
square
#295EBC #BC29A8 #BC8729 #29BC3D
split-complementary
#295EBC #BC3D29 #A8BC29
monochromatic
#132C58 #1E458A #295EBC #4B7DD8 #7DA2E3
Accessibility & contrast
On white
6.14
#295EBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#295EBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #295EBC
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##295EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##295EBC | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2569BF
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #295ebc; /* rgb */ color: rgb(41, 94, 188); /* oklch */ color: oklch(50.0% 0.159 260.9);
Tailwind
colors: {
custom: {
50: '#798bd1',
500: '#295ebc',
950: '#000000',
},
}SCSS
$custom: #295ebc; $custom-light: #798bd1; $custom-dark: #000000;
JSON
{
"hex": "#295ebc",
"rgb": {
"r": 41,
"g": 94,
"b": 188
},
"hsl": {
"h": 218.367,
"s": 64.192,
"l": 44.902
},
"oklch": {
"l": 0.50019,
"c": 0.1588,
"h": 260.9
},
"luminance": 0.12108
}Semantic roles & 50–950 ramp
primary
#295EBC
secondary
#CBAC76
accent
#AB41E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82