#305BAA#305BAA
#305BAA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.3% C 0.136 H 261.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #305BAA |
|---|---|
| RGB | rgb(48, 91, 170) |
| HSL | hsl(219, 56%, 43%) |
| HSV | hsv(219, 72%, 67%) |
| CMYK | cmyk(71.8%, 46.5%, 0%, 33.3%) |
| CIE-LAB | lab(39.60, 12.65, -46.78) |
| CIE-LCH | lch(39.60, 48.46, 285.14°) |
| OKLab | oklab(48.34% -0.0204 -0.134) |
| OKLCH | oklch(48.34% 0.136 261.4) |
| XYZ | xyz(12.2131, 11.0115, 39.5042) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.18
Denim
#1560BD
ΔE00 3.35
Sapphire
#0F52BA
ΔE00 3.64
Dusky Blue
#475F94
ΔE00 4.48
Dusk Blue
#26538D
ΔE00 4.55
Light Navy Blue
#2E5A88
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305BAA #AA7F30
analogous
#3098AA #305BAA #4230AA
triadic
#305BAA #AA305B #5BAA30
tetradic
#305BAA #AA3098 #AA7F30 #30AA42
square
#305BAA #AA3098 #AA7F30 #30AA42
split-complementary
#305BAA #AA4230 #98AA30
monochromatic
#15284B #23417A #305BAA #4B79CC #7B9CDA
Accessibility & contrast
On white
6.56
#305BAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#305BAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305BAA
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305BAA | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#1858A8
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #305baa; /* rgb */ color: rgb(48, 91, 170); /* oklch */ color: oklch(48.3% 0.136 261.4);
Tailwind
colors: {
custom: {
50: '#7888c4',
500: '#305baa',
950: '#000000',
},
}SCSS
$custom: #305baa; $custom-light: #7888c4; $custom-dark: #000000;
JSON
{
"hex": "#305baa",
"rgb": {
"r": 48,
"g": 91,
"b": 170
},
"hsl": {
"h": 218.852,
"s": 55.963,
"l": 42.745
},
"oklch": {
"l": 0.48342,
"c": 0.13556,
"h": 261.4
},
"luminance": 0.11013
}Semantic roles & 50–950 ramp
primary
#305BAA
secondary
#C2A674
accent
#AA49DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82