#305FB2#305FB2
#305FB2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.142 H 260.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #305FB2 |
|---|---|
| RGB | rgb(48, 95, 178) |
| HSL | hsl(218, 58%, 44%) |
| HSV | hsv(218, 73%, 70%) |
| CMYK | cmyk(73%, 46.6%, 0%, 30.2%) |
| CIE-LAB | lab(41.26, 13.07, -48.84) |
| CIE-LCH | lch(41.26, 50.56, 284.98°) |
| OKLab | oklab(49.78% -0.0226 -0.14) |
| OKLCH | oklch(49.78% 0.142 260.8) |
| XYZ | xyz(13.3441, 12.0257, 43.7288) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.17
French Blue
#436BAD
ΔE00 4.22
Denim Blue
#3B5B92
ΔE00 4.27
Sapphire
#0F52BA
ΔE00 4.43
Mid Blue
#276AB3
ΔE00 4.74
Denim (survey)
#3B638C
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305FB2 #B28330
analogous
#30A0B2 #305FB2 #4230B2
triadic
#305FB2 #B2305F #5FB230
tetradic
#305FB2 #B230A0 #B28330 #30B242
square
#305FB2 #B230A0 #B28330 #30B242
split-complementary
#305FB2 #B24230 #A0B230
monochromatic
#162C52 #234582 #305FB2 #507ED0 #80A1DD
Accessibility & contrast
On white
6.17
#305FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#305FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305FB2
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305FB2 | 1.00 | 6.17 | 3.41 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#165CB0
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #305fb2; /* rgb */ color: rgb(48, 95, 178); /* oklch */ color: oklch(49.8% 0.142 260.8);
Tailwind
colors: {
custom: {
50: '#798bc9',
500: '#305fb2',
950: '#000000',
},
}SCSS
$custom: #305fb2; $custom-light: #798bc9; $custom-dark: #000000;
JSON
{
"hex": "#305fb2",
"rgb": {
"r": 48,
"g": 95,
"b": 178
},
"hsl": {
"h": 218.308,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.4978,
"c": 0.14182,
"h": 260.8
},
"luminance": 0.12027
}Semantic roles & 50–950 ramp
primary
#305FB2
secondary
#C6AA78
accent
#A947E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82