#3051C2#3051C2
#3051C2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.181 H 266.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3051C2 |
|---|---|
| RGB | rgb(48, 81, 194) |
| HSL | hsl(226, 60%, 47%) |
| HSV | hsv(226, 75%, 76%) |
| CMYK | cmyk(75.3%, 58.2%, 0%, 23.9%) |
| CIE-LAB | lab(38.56, 28.22, -62.56) |
| CIE-LCH | lch(38.56, 68.63, 294.28°) |
| OKLab | oklab(48.1% -0.0099 -0.1806) |
| OKLCH | oklch(48.1% 0.181 266.9) |
| XYZ | xyz(13.8956, 10.4068, 52.3048) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.29
Blue Blue
#2242C7
ΔE00 4.61
Warm Blue
#4B57DB
ΔE00 5.25
Cobalt
#0047AB
ΔE00 5.25
Blue (survey)
#0343DF
ΔE00 5.32
Azul
#1D5DEC
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3051C2 #C2A130
analogous
#309AC2 #3051C2 #5830C2
triadic
#3051C2 #C23051 #51C230
tetradic
#3051C2 #C2309A #C2A130 #30C258
square
#3051C2 #C2309A #C2A130 #30C258
split-complementary
#3051C2 #C25830 #9AC230
monochromatic
#182860 #243D91 #3051C2 #5975D6 #8A9EE2
Accessibility & contrast
On white
6.81
#3051C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#3051C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3051C2
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3051C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3051C2 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3051c2; /* rgb */ color: rgb(48, 81, 194); /* oklch */ color: oklch(48.1% 0.181 266.9);
Tailwind
colors: {
custom: {
50: '#7e81d5',
500: '#3051c2',
950: '#000000',
},
}SCSS
$custom: #3051c2; $custom-light: #7e81d5; $custom-dark: #000000;
JSON
{
"hex": "#3051c2",
"rgb": {
"r": 48,
"g": 81,
"b": 194
},
"hsl": {
"h": 226.438,
"s": 60.331,
"l": 47.451
},
"oklch": {
"l": 0.48096,
"c": 0.18087,
"h": 266.9
},
"luminance": 0.10408
}Semantic roles & 50–950 ramp
primary
#3051C2
secondary
#CCBB82
accent
#C044E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83