#2F5CA6#2F5CA6
#2F5CA6 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.129 H 259.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CA6 |
|---|---|
| RGB | rgb(47, 92, 166) |
| HSL | hsl(217, 56%, 42%) |
| HSV | hsv(217, 72%, 65%) |
| CMYK | cmyk(71.7%, 44.6%, 0%, 34.9%) |
| CIE-LAB | lab(39.60, 10.35, -44.42) |
| CIE-LCH | lch(39.60, 45.61, 283.11°) |
| OKLab | oklab(48.25% -0.0228 -0.1271) |
| OKLCH | oklch(48.25% 0.129 259.8) |
| XYZ | xyz(11.8799, 11.0105, 37.5682) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.87
Denim
#1560BD
ΔE00 3.22
Light Navy Blue
#2E5A88
ΔE00 4.01
Sapphire
#0F52BA
ΔE00 4.16
Dusk Blue
#26538D
ΔE00 4.22
Denim (survey)
#3B638C
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CA6 #A6792F
analogous
#2F98A6 #2F5CA6 #3E2FA6
triadic
#2F5CA6 #A62F5C #5CA62F
tetradic
#2F5CA6 #A62F98 #A6792F #2FA63E
square
#2F5CA6 #A62F98 #A6792F #2FA63E
split-complementary
#2F5CA6 #A63E2F #98A62F
monochromatic
#142747 #214276 #2F5CA6 #4779CB #779CD8
Accessibility & contrast
On white
6.56
#2F5CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#2F5CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CA6
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CA6 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3763A9
Deuteranopia (green-blind)
#2258A4
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f5ca6; /* rgb */ color: rgb(47, 92, 166); /* oklch */ color: oklch(48.2% 0.129 259.8);
Tailwind
colors: {
custom: {
50: '#7689c1',
500: '#2f5ca6',
950: '#000000',
},
}SCSS
$custom: #2f5ca6; $custom-light: #7689c1; $custom-dark: #000000;
JSON
{
"hex": "#2f5ca6",
"rgb": {
"r": 47,
"g": 92,
"b": 166
},
"hsl": {
"h": 217.311,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.48249,
"c": 0.12909,
"h": 259.8
},
"luminance": 0.11012
}Semantic roles & 50–950 ramp
primary
#2F5CA6
secondary
#C1A270
accent
#A649DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81