#305AAA#305AAA
#305AAA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.137 H 261.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #305AAA |
|---|---|
| RGB | rgb(48, 90, 170) |
| HSL | hsl(219, 56%, 43%) |
| HSV | hsv(219, 72%, 67%) |
| CMYK | cmyk(71.8%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(39.31, 13.31, -47.24) |
| CIE-LCH | lch(39.31, 49.08, 285.73°) |
| OKLab | oklab(48.12% -0.0194 -0.1354) |
| OKLCH | oklch(48.12% 0.137 261.8) |
| XYZ | xyz(12.1282, 10.8417, 39.4759) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.20
Sapphire
#0F52BA
ΔE00 3.40
Denim
#1560BD
ΔE00 3.63
Dusk Blue
#26538D
ΔE00 4.45
Dusky Blue
#475F94
ΔE00 4.53
Light Navy Blue
#2E5A88
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305AAA #AA8030
analogous
#3097AA #305AAA #4330AA
triadic
#305AAA #AA305A #5AAA30
tetradic
#305AAA #AA3097 #AA8030 #30AA43
square
#305AAA #AA3097 #AA8030 #30AA43
split-complementary
#305AAA #AA4330 #97AA30
monochromatic
#15274B #23417A #305AAA #4B77CC #7B9BDA
Accessibility & contrast
On white
6.63
#305AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#305AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305AAA
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305AAA | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#1457A8
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #305aaa; /* rgb */ color: rgb(48, 90, 170); /* oklch */ color: oklch(48.1% 0.137 261.8);
Tailwind
colors: {
custom: {
50: '#7888c4',
500: '#305aaa',
950: '#000000',
},
}SCSS
$custom: #305aaa; $custom-light: #7888c4; $custom-dark: #000000;
JSON
{
"hex": "#305aaa",
"rgb": {
"r": 48,
"g": 90,
"b": 170
},
"hsl": {
"h": 219.344,
"s": 55.963,
"l": 42.745
},
"oklch": {
"l": 0.48121,
"c": 0.13679,
"h": 261.8
},
"luminance": 0.10843
}Semantic roles & 50–950 ramp
primary
#305AAA
secondary
#C2A774
accent
#AB49DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82