#305396#305396
#305396 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.117 H 262.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #305396 |
|---|---|
| RGB | rgb(48, 83, 150) |
| HSL | hsl(219, 52%, 39%) |
| HSV | hsv(219, 68%, 59%) |
| CMYK | cmyk(68%, 44.7%, 0%, 41.2%) |
| CIE-LAB | lab(36.01, 10.38, -40.56) |
| CIE-LCH | lch(36.01, 41.87, 284.35°) |
| OKLab | oklab(45.18% -0.0162 -0.1159) |
| OKLCH | oklch(45.18% 0.117 262) |
| XYZ | xyz(9.8153, 9.0159, 30.0712) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.35
Denim Blue
#3B5B92
ΔE00 2.83
Cobalt (survey)
#1E488F
ΔE00 3.68
Light Navy Blue
#2E5A88
ΔE00 4.11
Sapphire
#0F52BA
ΔE00 4.63
Dusky Blue
#475F94
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305396 #967330
analogous
#308696 #305396 #403096
triadic
#305396 #963053 #539630
tetradic
#305396 #963086 #967330 #309640
square
#305396 #963086 #967330 #309640
split-complementary
#305396 #964030 #869630
monochromatic
#122039 #213968 #305396 #416DC2 #6F91D1
Accessibility & contrast
On white
7.49
#305396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#305396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305396
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305396 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335A99
Deuteranopia (green-blind)
#225095
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #305396; /* rgb */ color: rgb(48, 83, 150); /* oklch */ color: oklch(45.2% 0.117 262.0);
Tailwind
colors: {
custom: {
50: '#7482b5',
500: '#305396',
950: '#000000',
},
}SCSS
$custom: #305396; $custom-light: #7482b5; $custom-dark: #000000;
JSON
{
"hex": "#305396",
"rgb": {
"r": 48,
"g": 83,
"b": 150
},
"hsl": {
"h": 219.412,
"s": 51.515,
"l": 38.824
},
"oklch": {
"l": 0.45177,
"c": 0.117,
"h": 262
},
"luminance": 0.09017
}Semantic roles & 50–950 ramp
primary
#305396
secondary
#B99D69
accent
#AA4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80