#3051BE#3051BE
#3051BE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.176 H 266.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3051BE |
|---|---|
| RGB | rgb(48, 81, 190) |
| HSL | hsl(226, 60%, 47%) |
| HSV | hsv(226, 75%, 75%) |
| CMYK | cmyk(74.7%, 57.4%, 0%, 25.5%) |
| CIE-LAB | lab(38.25, 26.73, -60.73) |
| CIE-LCH | lch(38.25, 66.35, 293.75°) |
| OKLab | oklab(47.77% -0.01 -0.1752) |
| OKLCH | oklch(47.77% 0.176 266.7) |
| XYZ | xyz(13.4524, 10.2295, 49.9707) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.98
Blue Blue
#2242C7
ΔE00 4.77
Cobalt
#0047AB
ΔE00 4.87
Blue (survey)
#0343DF
ΔE00 5.71
Warm Blue
#4B57DB
ΔE00 5.71
Denim
#1560BD
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3051BE #BE9D30
analogous
#3098BE #3051BE #5630BE
triadic
#3051BE #BE3051 #51BE30
tetradic
#3051BE #BE3098 #BE9D30 #30BE56
square
#3051BE #BE3098 #BE9D30 #30BE56
split-complementary
#3051BE #BE5630 #98BE30
monochromatic
#17275C #243C8D #3051BE #5774D4 #889CE1
Accessibility & contrast
On white
6.89
#3051BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#3051BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3051BE
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3051BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3051BE | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3051be; /* rgb */ color: rgb(48, 81, 190); /* oklch */ color: oklch(47.8% 0.176 266.7);
Tailwind
colors: {
custom: {
50: '#7d81d2',
500: '#3051be',
950: '#000000',
},
}SCSS
$custom: #3051be; $custom-light: #7d81d2; $custom-dark: #000000;
JSON
{
"hex": "#3051be",
"rgb": {
"r": 48,
"g": 81,
"b": 190
},
"hsl": {
"h": 226.056,
"s": 59.664,
"l": 46.667
},
"oklch": {
"l": 0.47765,
"c": 0.17552,
"h": 266.7
},
"luminance": 0.10231
}Semantic roles & 50–950 ramp
primary
#3051BE
secondary
#CBB97F
accent
#BE45E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83