#305AB2#305AB2
#305AB2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.148 H 262.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #305AB2 |
|---|---|
| RGB | rgb(48, 90, 178) |
| HSL | hsl(221, 58%, 44%) |
| HSV | hsv(221, 73%, 70%) |
| CMYK | cmyk(73%, 49.4%, 0%, 30.2%) |
| CIE-LAB | lab(39.84, 16.33, -51.12) |
| CIE-LCH | lch(39.84, 53.67, 287.71°) |
| OKLab | oklab(48.69% -0.0182 -0.1468) |
| OKLCH | oklch(48.69% 0.148 262.9) |
| XYZ | xyz(12.9081, 11.1537, 43.5834) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.00
Denim
#1560BD
ΔE00 3.51
Denim Blue
#3B5B92
ΔE00 4.12
Dusky Blue
#475F94
ΔE00 5.11
Dusk Blue
#26538D
ΔE00 5.39
Light Navy Blue
#2E5A88
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305AB2 #B28830
analogous
#309BB2 #305AB2 #4730B2
triadic
#305AB2 #B2305A #5AB230
tetradic
#305AB2 #B2309B #B28830 #30B247
square
#305AB2 #B2309B #B28830 #30B247
split-complementary
#305AB2 #B24730 #9BB230
monochromatic
#162952 #234282 #305AB2 #5079D0 #809EDD
Accessibility & contrast
On white
6.50
#305AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#305AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305AB2
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305AB2 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #305ab2; /* rgb */ color: rgb(48, 90, 178); /* oklch */ color: oklch(48.7% 0.148 262.9);
Tailwind
colors: {
custom: {
50: '#7988ca',
500: '#305ab2',
950: '#000000',
},
}SCSS
$custom: #305ab2; $custom-light: #7988ca; $custom-dark: #000000;
JSON
{
"hex": "#305ab2",
"rgb": {
"r": 48,
"g": 90,
"b": 178
},
"hsl": {
"h": 220.615,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.48692,
"c": 0.14794,
"h": 262.9
},
"luminance": 0.11155
}Semantic roles & 50–950 ramp
primary
#305AB2
secondary
#C6AD78
accent
#AF47E1
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82