#3057B5#3057B5
#3057B5 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.156 H 264.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3057B5 |
|---|---|
| RGB | rgb(48, 87, 181) |
| HSL | hsl(222, 58%, 45%) |
| HSV | hsv(222, 73%, 71%) |
| CMYK | cmyk(73.5%, 51.9%, 0%, 29%) |
| CIE-LAB | lab(39.21, 19.42, -53.91) |
| CIE-LCH | lch(39.21, 57.30, 289.81°) |
| OKLab | oklab(48.28% -0.0153 -0.155) |
| OKLCH | oklch(48.28% 0.156 264.3) |
| XYZ | xyz(12.9647, 10.7796, 45.1045) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.38
Denim
#1560BD
ΔE00 4.50
Denim Blue
#3B5B92
ΔE00 4.77
Cobalt
#0047AB
ΔE00 5.45
Dusky Blue
#475F94
ΔE00 5.71
Dusk Blue
#26538D
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3057B5 #B58E30
analogous
#309AB5 #3057B5 #4B30B5
triadic
#3057B5 #B53057 #57B530
tetradic
#3057B5 #B5309A #B58E30 #30B54B
square
#3057B5 #B5309A #B58E30 #30B54B
split-complementary
#3057B5 #B54B30 #9AB530
monochromatic
#162854 #234085 #3057B5 #5177D1 #829DDE
Accessibility & contrast
On white
6.65
#3057B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#3057B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3057B5
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3057B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3057B5 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A63B8
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3057b5; /* rgb */ color: rgb(48, 87, 181); /* oklch */ color: oklch(48.3% 0.156 264.3);
Tailwind
colors: {
custom: {
50: '#7a85cc',
500: '#3057b5',
950: '#000000',
},
}SCSS
$custom: #3057b5; $custom-light: #7a85cc; $custom-dark: #000000;
JSON
{
"hex": "#3057b5",
"rgb": {
"r": 48,
"g": 87,
"b": 181
},
"hsl": {
"h": 222.406,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.48277,
"c": 0.15581,
"h": 264.3
},
"luminance": 0.10781
}Semantic roles & 50–950 ramp
primary
#3057B5
secondary
#C7B07A
accent
#B446E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82