#2F64B2#2F64B2
#2F64B2 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.136 H 258.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F64B2 |
|---|---|
| RGB | rgb(47, 100, 178) |
| HSL | hsl(216, 58%, 44%) |
| HSV | hsv(216, 74%, 70%) |
| CMYK | cmyk(73.6%, 43.8%, 0%, 30.2%) |
| CIE-LAB | lab(42.66, 9.71, -46.59) |
| CIE-LCH | lch(42.66, 47.59, 281.77°) |
| OKLab | oklab(50.85% -0.0278 -0.1333) |
| OKLCH | oklch(50.85% 0.136 258.2) |
| XYZ | xyz(13.7624, 12.9315, 43.8816) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.94
Mid Blue
#276AB3
ΔE00 2.81
French Blue
#436BAD
ΔE00 2.96
Medium Blue
#2C6FBB
ΔE00 4.27
Denim (survey)
#3B638C
ΔE00 4.52
Denim Blue
#3B5B92
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F64B2 #B27D2F
analogous
#2FA6B2 #2F64B2 #3C2FB2
triadic
#2F64B2 #B22F64 #64B22F
tetradic
#2F64B2 #B22FA6 #B27D2F #2FB23C
square
#2F64B2 #B22FA6 #B27D2F #2FB23C
split-complementary
#2F64B2 #B23C2F #A6B22F
monochromatic
#152E51 #224982 #2F64B2 #4E83D0 #7EA5DD
Accessibility & contrast
On white
5.86
#2F64B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#2F64B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F64B2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F64B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F64B2 | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#255FB0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f64b2; /* rgb */ color: rgb(47, 100, 178); /* oklch */ color: oklch(50.9% 0.136 258.2);
Tailwind
colors: {
custom: {
50: '#798fc9',
500: '#2f64b2',
950: '#000000',
},
}SCSS
$custom: #2f64b2; $custom-light: #798fc9; $custom-dark: #000000;
JSON
{
"hex": "#2f64b2",
"rgb": {
"r": 47,
"g": 100,
"b": 178
},
"hsl": {
"h": 215.725,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.50852,
"c": 0.1362,
"h": 258.2
},
"luminance": 0.12933
}Semantic roles & 50–950 ramp
primary
#2F64B2
secondary
#C6A677
accent
#A346E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82