#305196#305196
#305196 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.120 H 263.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #305196 |
|---|---|
| RGB | rgb(48, 81, 150) |
| HSL | hsl(221, 52%, 39%) |
| HSV | hsv(221, 68%, 59%) |
| CMYK | cmyk(68%, 46%, 0%, 41.2%) |
| CIE-LAB | lab(35.43, 11.70, -41.50) |
| CIE-LCH | lch(35.43, 43.12, 285.74°) |
| OKLab | oklab(44.73% -0.0142 -0.1187) |
| OKLCH | oklch(44.73% 0.12 263.2) |
| XYZ | xyz(9.6644, 8.7143, 30.0210) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.79
Cobalt (survey)
#1E488F
ΔE00 3.19
Denim Blue
#3B5B92
ΔE00 3.45
Cobalt
#0047AB
ΔE00 4.63
Sapphire
#0F52BA
ΔE00 4.72
Light Navy Blue
#2E5A88
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305196 #967530
analogous
#308496 #305196 #423096
triadic
#305196 #963051 #519630
tetradic
#305196 #963084 #967530 #309642
square
#305196 #963084 #967530 #309642
split-complementary
#305196 #964230 #849630
monochromatic
#121F39 #213868 #305196 #416BC2 #6F8FD1
Accessibility & contrast
On white
7.66
#305196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#305196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305196
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305196 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5899
Deuteranopia (green-blind)
#1D4F95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #305196; /* rgb */ color: rgb(48, 81, 150); /* oklch */ color: oklch(44.7% 0.120 263.2);
Tailwind
colors: {
custom: {
50: '#7481b5',
500: '#305196',
950: '#000000',
},
}SCSS
$custom: #305196; $custom-light: #7481b5; $custom-dark: #000000;
JSON
{
"hex": "#305196",
"rgb": {
"r": 48,
"g": 81,
"b": 150
},
"hsl": {
"h": 220.588,
"s": 51.515,
"l": 38.824
},
"oklch": {
"l": 0.44726,
"c": 0.11951,
"h": 263.2
},
"luminance": 0.08715
}Semantic roles & 50–950 ramp
primary
#305196
secondary
#B99F69
accent
#AD4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80