#2950AF#2950AF
#2950AF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.158 H 264.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2950AF |
|---|---|
| RGB | rgb(41, 80, 175) |
| HSL | hsl(223, 62%, 42%) |
| HSV | hsv(223, 77%, 69%) |
| CMYK | cmyk(76.6%, 54.3%, 0%, 31.4%) |
| CIE-LAB | lab(36.56, 20.88, -54.66) |
| CIE-LCH | lch(36.56, 58.51, 290.90°) |
| OKLab | oklab(46.06% -0.0159 -0.1575) |
| OKLCH | oklch(46.06% 0.158 264.2) |
| XYZ | xyz(11.5182, 9.3026, 41.7377) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.11
Cobalt
#0047AB
ΔE00 3.25
Cobalt (survey)
#1E488F
ΔE00 5.00
Dusk Blue
#26538D
ΔE00 5.20
Denim Blue
#3B5B92
ΔE00 5.42
Blue Blue
#2242C7
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2950AF #AF8829
analogous
#2993AF #2950AF #4529AF
triadic
#2950AF #AF2950 #50AF29
tetradic
#2950AF #AF2993 #AF8829 #29AF45
square
#2950AF #AF2993 #AF8829 #29AF45
split-complementary
#2950AF #AF4529 #93AF29
monochromatic
#12234C #1D397D #2950AF #426CD3 #7493DE
Accessibility & contrast
On white
7.34
#2950AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2950AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2950AF
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2950AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2950AF | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2950af; /* rgb */ color: rgb(41, 80, 175); /* oklch */ color: oklch(46.1% 0.158 264.2);
Tailwind
colors: {
custom: {
50: '#7780c8',
500: '#2950af',
950: '#000000',
},
}SCSS
$custom: #2950af; $custom-light: #7780c8; $custom-dark: #000000;
JSON
{
"hex": "#2950af",
"rgb": {
"r": 41,
"g": 80,
"b": 175
},
"hsl": {
"h": 222.537,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.46055,
"c": 0.15832,
"h": 264.2
},
"luminance": 0.09304
}Semantic roles & 50–950 ramp
primary
#2950AF
secondary
#C6AC6E
accent
#B643E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82