#2F61BF#2F61BF
#2F61BF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.1% C 0.158 H 261.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F61BF |
|---|---|
| RGB | rgb(47, 97, 191) |
| HSL | hsl(219, 61%, 47%) |
| HSV | hsv(219, 75%, 75%) |
| CMYK | cmyk(75.4%, 49.2%, 0%, 25.1%) |
| CIE-LAB | lab(42.63, 16.56, -54.22) |
| CIE-LCH | lch(42.63, 56.69, 286.98°) |
| OKLab | oklab(51.1% -0.0231 -0.1558) |
| OKLCH | oklch(51.1% 0.158 261.6) |
| XYZ | xyz(14.8476, 12.9136, 50.9902) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.20
French Blue
#436BAD
ΔE00 4.00
Mid Blue
#276AB3
ΔE00 4.63
Sapphire
#0F52BA
ΔE00 5.01
Medium Blue
#2C6FBB
ΔE00 5.64
Azul
#1D5DEC
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F61BF #BF8D2F
analogous
#2FA9BF #2F61BF #452FBF
triadic
#2F61BF #BF2F61 #61BF2F
tetradic
#2F61BF #BF2FA9 #BF8D2F #2FBF45
square
#2F61BF #BF2FA9 #BF8D2F #2FBF45
split-complementary
#2F61BF #BF452F #A9BF2F
monochromatic
#172F5D #23488E #2F61BF #5682D5 #87A6E1
Accessibility & contrast
On white
5.86
#2F61BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2F61BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F61BF
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F61BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F61BF | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A6CC2
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f61bf; /* rgb */ color: rgb(47, 97, 191); /* oklch */ color: oklch(51.1% 0.158 261.6);
Tailwind
colors: {
custom: {
50: '#7c8dd3',
500: '#2f61bf',
950: '#000000',
},
}SCSS
$custom: #2f61bf; $custom-light: #7c8dd3; $custom-dark: #000000;
JSON
{
"hex": "#2f61bf",
"rgb": {
"r": 47,
"g": 97,
"b": 191
},
"hsl": {
"h": 219.167,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.51097,
"c": 0.15751,
"h": 261.6
},
"luminance": 0.12915
}Semantic roles & 50–950 ramp
primary
#2F61BF
secondary
#CBB17F
accent
#AC44E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83