#3057B2#3057B2
#3057B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.152 H 264.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3057B2 |
|---|---|
| RGB | rgb(48, 87, 178) |
| HSL | hsl(222, 58%, 44%) |
| HSV | hsv(222, 73%, 70%) |
| CMYK | cmyk(73%, 51.1%, 0%, 30.2%) |
| CIE-LAB | lab(39.00, 18.29, -52.48) |
| CIE-LCH | lch(39.00, 55.57, 289.22°) |
| OKLab | oklab(48.05% -0.0157 -0.1509) |
| OKLCH | oklch(48.05% 0.152 264.1) |
| XYZ | xyz(12.6602, 10.6578, 43.5008) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.42
Denim Blue
#3B5B92
ΔE00 4.41
Denim
#1560BD
ΔE00 4.46
Dusk Blue
#26538D
ΔE00 5.35
Cobalt
#0047AB
ΔE00 5.36
Dusky Blue
#475F94
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3057B2 #B28B30
analogous
#3098B2 #3057B2 #4A30B2
triadic
#3057B2 #B23057 #57B230
tetradic
#3057B2 #B23098 #B28B30 #30B24A
square
#3057B2 #B23098 #B28B30 #30B24A
split-complementary
#3057B2 #B24A30 #98B230
monochromatic
#162852 #233F82 #3057B2 #5076D0 #809CDD
Accessibility & contrast
On white
6.71
#3057B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#3057B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3057B2
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3057B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3057B2 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F62B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3057b2; /* rgb */ color: rgb(48, 87, 178); /* oklch */ color: oklch(48.1% 0.152 264.1);
Tailwind
colors: {
custom: {
50: '#7a85ca',
500: '#3057b2',
950: '#000000',
},
}SCSS
$custom: #3057b2; $custom-light: #7a85ca; $custom-dark: #000000;
JSON
{
"hex": "#3057b2",
"rgb": {
"r": 48,
"g": 87,
"b": 178
},
"hsl": {
"h": 222,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.48052,
"c": 0.15166,
"h": 264.1
},
"luminance": 0.10659
}Semantic roles & 50–950 ramp
primary
#3057B2
secondary
#C6AE78
accent
#B347E1
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82