#305AB8#305AB8
#305AB8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.156 H 263.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #305AB8 |
|---|---|
| RGB | rgb(48, 90, 184) |
| HSL | hsl(221, 59%, 45%) |
| HSV | hsv(221, 74%, 72%) |
| CMYK | cmyk(73.9%, 51.1%, 0%, 27.8%) |
| CIE-LAB | lab(40.25, 18.59, -53.99) |
| CIE-LCH | lch(40.25, 57.10, 289.00°) |
| OKLab | oklab(49.13% -0.0175 -0.1552) |
| OKLCH | oklch(49.13% 0.156 263.6) |
| XYZ | xyz(13.5237, 11.3999, 46.8258) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.95
Denim
#1560BD
ΔE00 3.60
Denim Blue
#3B5B92
ΔE00 4.84
Dusky Blue
#475F94
ΔE00 5.64
French Blue
#436BAD
ΔE00 5.92
Denim (survey)
#3B638C
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305AB8 #B88E30
analogous
#309EB8 #305AB8 #4A30B8
triadic
#305AB8 #B8305A #5AB830
tetradic
#305AB8 #B8309E #B88E30 #30B84A
square
#305AB8 #B8309E #B88E30 #30B84A
split-complementary
#305AB8 #B84A30 #9EB830
monochromatic
#172B57 #234287 #305AB8 #537AD2 #84A0DF
Accessibility & contrast
On white
6.40
#305AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#305AB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305AB8
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305AB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305AB8 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F65BB
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #305ab8; /* rgb */ color: rgb(48, 90, 184); /* oklch */ color: oklch(49.1% 0.156 263.6);
Tailwind
colors: {
custom: {
50: '#7b88ce',
500: '#305ab8',
950: '#000000',
},
}SCSS
$custom: #305ab8; $custom-light: #7b88ce; $custom-dark: #000000;
JSON
{
"hex": "#305ab8",
"rgb": {
"r": 48,
"g": 90,
"b": 184
},
"hsl": {
"h": 221.471,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.49134,
"c": 0.15622,
"h": 263.6
},
"luminance": 0.11401
}Semantic roles & 50–950 ramp
primary
#305AB8
secondary
#C8B17C
accent
#B246E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82