#2959AF#2959AF
#2959AF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.147 H 261.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2959AF |
|---|---|
| RGB | rgb(41, 89, 175) |
| HSL | hsl(219, 62%, 42%) |
| HSV | hsv(219, 77%, 69%) |
| CMYK | cmyk(76.6%, 49.1%, 0%, 31.4%) |
| CIE-LAB | lab(39.09, 14.92, -50.58) |
| CIE-LCH | lch(39.09, 52.73, 286.44°) |
| OKLab | oklab(47.98% -0.0231 -0.1453) |
| OKLCH | oklch(47.98% 0.147 261) |
| XYZ | xyz(12.2219, 10.7099, 41.9722) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.71
Denim
#1560BD
ΔE00 3.30
Denim Blue
#3B5B92
ΔE00 3.91
Dusk Blue
#26538D
ΔE00 4.62
Light Navy Blue
#2E5A88
ΔE00 4.89
Dusky Blue
#475F94
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2959AF #AF7F29
analogous
#299CAF #2959AF #3C29AF
triadic
#2959AF #AF2959 #59AF29
tetradic
#2959AF #AF299C #AF7F29 #29AF3C
square
#2959AF #AF299C #AF7F29 #29AF3C
split-complementary
#2959AF #AF3C29 #9CAF29
monochromatic
#12274C #1D407D #2959AF #4276D3 #749ADE
Accessibility & contrast
On white
6.68
#2959AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2959AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2959AF
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2959AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2959AF | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2763B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2959af; /* rgb */ color: rgb(41, 89, 175); /* oklch */ color: oklch(48.0% 0.147 261.0);
Tailwind
colors: {
custom: {
50: '#7687c7',
500: '#2959af',
950: '#000000',
},
}SCSS
$custom: #2959af; $custom-light: #7687c7; $custom-dark: #000000;
JSON
{
"hex": "#2959af",
"rgb": {
"r": 41,
"g": 89,
"b": 175
},
"hsl": {
"h": 218.507,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.4798,
"c": 0.14716,
"h": 261
},
"luminance": 0.10711
}Semantic roles & 50–950 ramp
primary
#2959AF
secondary
#C6A66E
accent
#AB43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82