#3064B5#3064B5
#3064B5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.1% C 0.140 H 259.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3064B5 |
|---|---|
| RGB | rgb(48, 100, 181) |
| HSL | hsl(217, 58%, 45%) |
| HSV | hsv(217, 73%, 71%) |
| CMYK | cmyk(73.5%, 44.8%, 0%, 29%) |
| CIE-LAB | lab(42.88, 10.98, -47.99) |
| CIE-LCH | lch(42.88, 49.23, 282.89°) |
| OKLab | oklab(51.09% -0.0266 -0.1374) |
| OKLCH | oklch(51.09% 0.14 259.1) |
| XYZ | xyz(14.1136, 13.0774, 45.4875) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.94
French Blue
#436BAD
ΔE00 2.89
Mid Blue
#276AB3
ΔE00 3.05
Medium Blue
#2C6FBB
ΔE00 4.33
Denim (survey)
#3B638C
ΔE00 4.82
Denim Blue
#3B5B92
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3064B5 #B58130
analogous
#30A7B5 #3064B5 #3E30B5
triadic
#3064B5 #B53064 #64B530
tetradic
#3064B5 #B530A7 #B58130 #30B53E
square
#3064B5 #B530A7 #B58130 #30B53E
split-complementary
#3064B5 #B53E30 #A7B530
monochromatic
#162F54 #234985 #3064B5 #5183D1 #82A6DE
Accessibility & contrast
On white
5.81
#3064B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#3064B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3064B5
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3064B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3064B5 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B6CB8
Deuteranopia (green-blind)
#2160B3
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3064b5; /* rgb */ color: rgb(48, 100, 181); /* oklch */ color: oklch(51.1% 0.140 259.1);
Tailwind
colors: {
custom: {
50: '#7a8fcc',
500: '#3064b5',
950: '#000000',
},
}SCSS
$custom: #3064b5; $custom-light: #7a8fcc; $custom-dark: #000000;
JSON
{
"hex": "#3064b5",
"rgb": {
"r": 48,
"g": 100,
"b": 181
},
"hsl": {
"h": 216.541,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.51091,
"c": 0.13997,
"h": 259.1
},
"luminance": 0.13079
}Semantic roles & 50–950 ramp
primary
#3064B5
secondary
#C7A97A
accent
#A546E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82