#295BAB#295BAB
#295BAB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.1% C 0.139 H 259.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #295BAB |
|---|---|
| RGB | rgb(41, 91, 171) |
| HSL | hsl(217, 61%, 42%) |
| HSV | hsv(217, 76%, 67%) |
| CMYK | cmyk(76%, 46.8%, 0%, 32.9%) |
| CIE-LAB | lab(39.40, 12.07, -47.71) |
| CIE-LCH | lch(39.40, 49.22, 284.20°) |
| OKLab | oklab(48.13% -0.0254 -0.1369) |
| OKLCH | oklch(48.13% 0.139 259.5) |
| XYZ | xyz(12.0036, 10.8925, 39.9900) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.84
Denim Blue
#3B5B92
ΔE00 3.52
Sapphire
#0F52BA
ΔE00 3.56
Light Navy Blue
#2E5A88
ΔE00 4.31
Dusk Blue
#26538D
ΔE00 4.37
Denim (survey)
#3B638C
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#295BAB #AB7929
analogous
#299CAB #295BAB #3829AB
triadic
#295BAB #AB295B #5BAB29
tetradic
#295BAB #AB299C #AB7929 #29AB38
square
#295BAB #AB299C #AB7929 #29AB38
split-complementary
#295BAB #AB3829 #9CAB29
monochromatic
#112648 #1D417A #295BAB #4078D1 #719BDD
Accessibility & contrast
On white
6.61
#295BAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#295BAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #295BAB
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##295BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##295BAB | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3063AE
Deuteranopia (green-blind)
#1057A9
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #295bab; /* rgb */ color: rgb(41, 91, 171); /* oklch */ color: oklch(48.1% 0.139 259.5);
Tailwind
colors: {
custom: {
50: '#7588c4',
500: '#295bab',
950: '#000000',
},
}SCSS
$custom: #295bab; $custom-light: #7588c4; $custom-dark: #000000;
JSON
{
"hex": "#295bab",
"rgb": {
"r": 41,
"g": 91,
"b": 171
},
"hsl": {
"h": 216.923,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.48134,
"c": 0.1392,
"h": 259.5
},
"luminance": 0.10894
}Semantic roles & 50–950 ramp
primary
#295BAB
secondary
#C4A26C
accent
#A643E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82