#2F64B6#2F64B6
#2F64B6 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.1% C 0.142 H 259.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2F64B6 |
|---|---|
| RGB | rgb(47, 100, 182) |
| HSL | hsl(216, 59%, 45%) |
| HSV | hsv(216, 74%, 71%) |
| CMYK | cmyk(74.2%, 45.1%, 0%, 28.6%) |
| CIE-LAB | lab(42.91, 11.22, -48.54) |
| CIE-LCH | lch(42.91, 49.82, 283.02°) |
| OKLab | oklab(51.12% -0.0271 -0.139) |
| OKLCH | oklch(51.12% 0.142 259) |
| XYZ | xyz(14.1699, 13.0945, 46.0276) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.87
French Blue
#436BAD
ΔE00 2.95
Mid Blue
#276AB3
ΔE00 3.02
Medium Blue
#2C6FBB
ΔE00 4.30
Denim (survey)
#3B638C
ΔE00 4.90
Denim Blue
#3B5B92
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F64B6 #B6812F
analogous
#2FA8B6 #2F64B6 #3D2FB6
triadic
#2F64B6 #B62F64 #64B62F
tetradic
#2F64B6 #B62FA8 #B6812F #2FB63D
square
#2F64B6 #B62FA8 #B6812F #2FB63D
split-complementary
#2F64B6 #B63D2F #A8B62F
monochromatic
#162F55 #224985 #2F64B6 #5083D2 #81A6DE
Accessibility & contrast
On white
5.80
#2F64B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#2F64B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F64B6
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F64B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F64B6 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6CB9
Deuteranopia (green-blind)
#1F60B4
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f64b6; /* rgb */ color: rgb(47, 100, 182); /* oklch */ color: oklch(51.1% 0.142 259.0);
Tailwind
colors: {
custom: {
50: '#7a8fcc',
500: '#2f64b6',
950: '#000000',
},
}SCSS
$custom: #2f64b6; $custom-light: #7a8fcc; $custom-dark: #000000;
JSON
{
"hex": "#2f64b6",
"rgb": {
"r": 47,
"g": 100,
"b": 182
},
"hsl": {
"h": 216.444,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.51121,
"c": 0.14165,
"h": 259
},
"luminance": 0.13096
}Semantic roles & 50–950 ramp
primary
#2F64B6
secondary
#C7A979
accent
#A546E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82