#305FBA#305FBA
#305FBA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.153 H 262.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #305FBA |
|---|---|
| RGB | rgb(48, 95, 186) |
| HSL | hsl(220, 59%, 46%) |
| HSV | hsv(220, 74%, 73%) |
| CMYK | cmyk(74.2%, 48.9%, 0%, 27.1%) |
| CIE-LAB | lab(41.78, 16.09, -52.69) |
| CIE-LCH | lch(41.78, 55.09, 286.98°) |
| OKLab | oklab(50.35% -0.0214 -0.1513) |
| OKLCH | oklch(50.35% 0.153 262) |
| XYZ | xyz(14.1709, 12.3564, 48.0830) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.32
Sapphire
#0F52BA
ΔE00 4.34
French Blue
#436BAD
ΔE00 4.37
Mid Blue
#276AB3
ΔE00 5.08
Denim Blue
#3B5B92
ΔE00 5.12
Denim (survey)
#3B638C
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305FBA #BA8B30
analogous
#30A4BA #305FBA #4630BA
triadic
#305FBA #BA305F #5FBA30
tetradic
#305FBA #BA30A4 #BA8B30 #30BA46
square
#305FBA #BA30A4 #BA8B30 #30BA46
split-complementary
#305FBA #BA4630 #A4BA30
monochromatic
#172D59 #234689 #305FBA #547FD3 #85A4DF
Accessibility & contrast
On white
6.05
#305FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#305FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305FBA
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305FBA | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B69BD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #305fba; /* rgb */ color: rgb(48, 95, 186); /* oklch */ color: oklch(50.3% 0.153 262.0);
Tailwind
colors: {
custom: {
50: '#7b8bcf',
500: '#305fba',
950: '#000000',
},
}SCSS
$custom: #305fba; $custom-light: #7b8bcf; $custom-dark: #000000;
JSON
{
"hex": "#305fba",
"rgb": {
"r": 48,
"g": 95,
"b": 186
},
"hsl": {
"h": 219.565,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.50346,
"c": 0.15282,
"h": 262
},
"luminance": 0.12358
}Semantic roles & 50–950 ramp
primary
#305FBA
secondary
#C9AF7D
accent
#AD46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82