#305EB5#305EB5
#305EB5 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.147 H 261.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #305EB5 |
|---|---|
| RGB | rgb(48, 94, 181) |
| HSL | hsl(219, 58%, 45%) |
| HSV | hsv(219, 73%, 71%) |
| CMYK | cmyk(73.5%, 48.1%, 0%, 29%) |
| CIE-LAB | lab(41.17, 14.85, -50.75) |
| CIE-LCH | lch(41.17, 52.88, 286.31°) |
| OKLab | oklab(49.77% -0.0213 -0.1456) |
| OKLCH | oklch(49.77% 0.147 261.7) |
| XYZ | xyz(13.5591, 11.9685, 45.3027) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.40
Sapphire
#0F52BA
ΔE00 4.06
Denim Blue
#3B5B92
ΔE00 4.50
French Blue
#436BAD
ΔE00 4.56
Mid Blue
#276AB3
ΔE00 5.21
Denim (survey)
#3B638C
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305EB5 #B58730
analogous
#30A1B5 #305EB5 #4430B5
triadic
#305EB5 #B5305E #5EB530
tetradic
#305EB5 #B530A1 #B58730 #30B544
square
#305EB5 #B530A1 #B58730 #30B544
split-complementary
#305EB5 #B54430 #A1B530
monochromatic
#162C54 #234585 #305EB5 #517DD1 #82A2DE
Accessibility & contrast
On white
6.19
#305EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#305EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305EB5
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305EB5 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E68B8
Deuteranopia (green-blind)
#065BB3
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #305eb5; /* rgb */ color: rgb(48, 94, 181); /* oklch */ color: oklch(49.8% 0.147 261.7);
Tailwind
colors: {
custom: {
50: '#7a8bcc',
500: '#305eb5',
950: '#000000',
},
}SCSS
$custom: #305eb5; $custom-light: #7a8bcc; $custom-dark: #000000;
JSON
{
"hex": "#305eb5",
"rgb": {
"r": 48,
"g": 94,
"b": 181
},
"hsl": {
"h": 219.248,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.49772,
"c": 0.14718,
"h": 261.7
},
"luminance": 0.1197
}Semantic roles & 50–950 ramp
primary
#305EB5
secondary
#C7AC7A
accent
#AC46E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82