#305BAB#305BAB
#305BAB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.4% C 0.137 H 261.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #305BAB |
|---|---|
| RGB | rgb(48, 91, 171) |
| HSL | hsl(219, 56%, 43%) |
| HSV | hsv(219, 72%, 67%) |
| CMYK | cmyk(71.9%, 46.8%, 0%, 32.9%) |
| CIE-LAB | lab(39.66, 13.03, -47.27) |
| CIE-LCH | lch(39.66, 49.04, 285.41°) |
| OKLab | oklab(48.41% -0.0202 -0.1355) |
| OKLCH | oklch(48.41% 0.137 261.5) |
| XYZ | xyz(12.3081, 11.0495, 40.0043) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.29
Denim
#1560BD
ΔE00 3.32
Sapphire
#0F52BA
ΔE00 3.58
Dusky Blue
#475F94
ΔE00 4.54
Dusk Blue
#26538D
ΔE00 4.66
Light Navy Blue
#2E5A88
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305BAB #AB8030
analogous
#3098AB #305BAB #4230AB
triadic
#305BAB #AB305B #5BAB30
tetradic
#305BAB #AB3098 #AB8030 #30AB42
square
#305BAB #AB3098 #AB8030 #30AB42
split-complementary
#305BAB #AB4230 #98AB30
monochromatic
#15284B #23427B #305BAB #4C79CD #7B9CDA
Accessibility & contrast
On white
6.54
#305BAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#305BAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305BAB
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305BAB | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3163AE
Deuteranopia (green-blind)
#1658A9
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #305bab; /* rgb */ color: rgb(48, 91, 171); /* oklch */ color: oklch(48.4% 0.137 261.5);
Tailwind
colors: {
custom: {
50: '#7888c4',
500: '#305bab',
950: '#000000',
},
}SCSS
$custom: #305bab; $custom-light: #7888c4; $custom-dark: #000000;
JSON
{
"hex": "#305bab",
"rgb": {
"r": 48,
"g": 91,
"b": 171
},
"hsl": {
"h": 219.024,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.48412,
"c": 0.13696,
"h": 261.5
},
"luminance": 0.11051
}Semantic roles & 50–950 ramp
primary
#305BAB
secondary
#C3A774
accent
#AB48DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82