#305698#305698
#305698 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.0% C 0.116 H 260.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #305698 |
|---|---|
| RGB | rgb(48, 86, 152) |
| HSL | hsl(218, 52%, 39%) |
| HSV | hsv(218, 68%, 60%) |
| CMYK | cmyk(68.4%, 43.4%, 0%, 40.4%) |
| CIE-LAB | lab(37.02, 9.16, -40.16) |
| CIE-LCH | lch(37.02, 41.19, 282.84°) |
| OKLab | oklab(45.99% -0.0189 -0.1146) |
| OKLCH | oklch(45.99% 0.116 260.6) |
| XYZ | xyz(10.2122, 9.5499, 31.0048) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.12
Dusk Blue
#26538D
ΔE00 2.26
Light Navy Blue
#2E5A88
ΔE00 3.43
Dusky Blue
#475F94
ΔE00 4.29
Sapphire
#0F52BA
ΔE00 4.47
Cobalt (survey)
#1E488F
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305698 #987230
analogous
#308A98 #305698 #3E3098
triadic
#305698 #983056 #569830
tetradic
#305698 #98308A #987230 #30983E
square
#305698 #98308A #987230 #30983E
split-complementary
#305698 #983E30 #8A9830
monochromatic
#13213B #213C69 #305698 #4271C3 #7094D2
Accessibility & contrast
On white
7.22
#305698 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#305698 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305698
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305698 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305698 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#265397
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #305698; /* rgb */ color: rgb(48, 86, 152); /* oklch */ color: oklch(46.0% 0.116 260.6);
Tailwind
colors: {
custom: {
50: '#7485b7',
500: '#305698',
950: '#000000',
},
}SCSS
$custom: #305698; $custom-light: #7485b7; $custom-dark: #000000;
JSON
{
"hex": "#305698",
"rgb": {
"r": 48,
"g": 86,
"b": 152
},
"hsl": {
"h": 218.077,
"s": 52,
"l": 39.216
},
"oklch": {
"l": 0.45994,
"c": 0.11618,
"h": 260.6
},
"luminance": 0.09551
}Semantic roles & 50–950 ramp
primary
#305698
secondary
#BA9D6A
accent
#A74CDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80