#3051BF#3051BF
#3051BF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.177 H 266.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3051BF |
|---|---|
| RGB | rgb(48, 81, 191) |
| HSL | hsl(226, 60%, 47%) |
| HSV | hsv(226, 75%, 75%) |
| CMYK | cmyk(74.9%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(38.33, 27.10, -61.19) |
| CIE-LCH | lch(38.33, 66.92, 293.89°) |
| OKLab | oklab(47.85% -0.01 -0.1766) |
| OKLCH | oklch(47.85% 0.177 266.8) |
| XYZ | xyz(13.5620, 10.2733, 50.5483) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.05
Blue Blue
#2242C7
ΔE00 4.73
Cobalt
#0047AB
ΔE00 4.96
Warm Blue
#4B57DB
ΔE00 5.60
Blue (survey)
#0343DF
ΔE00 5.61
Azul
#1D5DEC
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3051BF #BF9E30
analogous
#3099BF #3051BF #5730BF
triadic
#3051BF #BF3051 #51BF30
tetradic
#3051BF #BF3099 #BF9E30 #30BF57
square
#3051BF #BF3099 #BF9E30 #30BF57
split-complementary
#3051BF #BF5730 #99BF30
monochromatic
#17285D #243C8E #3051BF #5774D5 #889DE1
Accessibility & contrast
On white
6.87
#3051BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#3051BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3051BF
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3051BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3051BF | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3051bf; /* rgb */ color: rgb(48, 81, 191); /* oklch */ color: oklch(47.8% 0.177 266.8);
Tailwind
colors: {
custom: {
50: '#7d81d3',
500: '#3051bf',
950: '#000000',
},
}SCSS
$custom: #3051bf; $custom-light: #7d81d3; $custom-dark: #000000;
JSON
{
"hex": "#3051bf",
"rgb": {
"r": 48,
"g": 81,
"b": 191
},
"hsl": {
"h": 226.154,
"s": 59.833,
"l": 46.863
},
"oklch": {
"l": 0.47847,
"c": 0.17685,
"h": 266.8
},
"luminance": 0.10275
}Semantic roles & 50–950 ramp
primary
#3051BF
secondary
#CBBA80
accent
#BE45E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83