#305EB7#305EB7
#305EB7 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.150 H 262.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #305EB7 |
|---|---|
| RGB | rgb(48, 94, 183) |
| HSL | hsl(220, 58%, 45%) |
| HSV | hsv(220, 74%, 72%) |
| CMYK | cmyk(73.8%, 48.6%, 0%, 28.2%) |
| CIE-LAB | lab(41.30, 15.61, -51.71) |
| CIE-LCH | lch(41.30, 54.01, 286.80°) |
| OKLab | oklab(49.92% -0.021 -0.1484) |
| OKLCH | oklch(49.92% 0.15 262) |
| XYZ | xyz(13.7658, 12.0512, 46.3912) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.44
Sapphire
#0F52BA
ΔE00 4.03
French Blue
#436BAD
ΔE00 4.60
Denim Blue
#3B5B92
ΔE00 4.72
Mid Blue
#276AB3
ΔE00 5.29
Denim (survey)
#3B638C
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305EB7 #B78930
analogous
#30A1B7 #305EB7 #4630B7
triadic
#305EB7 #B7305E #5EB730
tetradic
#305EB7 #B730A1 #B78930 #30B746
square
#305EB7 #B730A1 #B78930 #30B746
split-complementary
#305EB7 #B74630 #A1B730
monochromatic
#172C56 #234587 #305EB7 #527ED2 #83A2DE
Accessibility & contrast
On white
6.16
#305EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#305EB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305EB7
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305EB7 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C68BA
Deuteranopia (green-blind)
#005CB5
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #305eb7; /* rgb */ color: rgb(48, 94, 183); /* oklch */ color: oklch(49.9% 0.150 262.0);
Tailwind
colors: {
custom: {
50: '#7a8bcd',
500: '#305eb7',
950: '#000000',
},
}SCSS
$custom: #305eb7; $custom-light: #7a8bcd; $custom-dark: #000000;
JSON
{
"hex": "#305eb7",
"rgb": {
"r": 48,
"g": 94,
"b": 183
},
"hsl": {
"h": 219.556,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.49915,
"c": 0.14992,
"h": 262
},
"luminance": 0.12053
}Semantic roles & 50–950 ramp
primary
#305EB7
secondary
#C8AE7B
accent
#AD46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82