#305397#305397
#305397 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.118 H 262.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #305397 |
|---|---|
| RGB | rgb(48, 83, 151) |
| HSL | hsl(220, 52%, 39%) |
| HSV | hsv(220, 68%, 59%) |
| CMYK | cmyk(68.2%, 45%, 0%, 40.8%) |
| CIE-LAB | lab(36.08, 10.75, -41.07) |
| CIE-LCH | lch(36.08, 42.45, 284.67°) |
| OKLab | oklab(45.25% -0.016 -0.1173) |
| OKLCH | oklch(45.25% 0.118 262.2) |
| XYZ | xyz(9.8961, 9.0483, 30.4971) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.45
Denim Blue
#3B5B92
ΔE00 2.87
Cobalt (survey)
#1E488F
ΔE00 3.71
Light Navy Blue
#2E5A88
ΔE00 4.18
Sapphire
#0F52BA
ΔE00 4.52
Dusky Blue
#475F94
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305397 #977430
analogous
#308797 #305397 #413097
triadic
#305397 #973053 #539730
tetradic
#305397 #973087 #977430 #309741
square
#305397 #973087 #977430 #309741
split-complementary
#305397 #974130 #879730
monochromatic
#12203A #213969 #305397 #416DC3 #7091D2
Accessibility & contrast
On white
7.47
#305397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#305397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305397
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305397 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325A9A
Deuteranopia (green-blind)
#205096
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #305397; /* rgb */ color: rgb(48, 83, 151); /* oklch */ color: oklch(45.2% 0.118 262.2);
Tailwind
colors: {
custom: {
50: '#7482b6',
500: '#305397',
950: '#000000',
},
}SCSS
$custom: #305397; $custom-light: #7482b6; $custom-dark: #000000;
JSON
{
"hex": "#305397",
"rgb": {
"r": 48,
"g": 83,
"b": 151
},
"hsl": {
"h": 219.612,
"s": 51.759,
"l": 39.02
},
"oklch": {
"l": 0.45245,
"c": 0.11844,
"h": 262.2
},
"luminance": 0.09049
}Semantic roles & 50–950 ramp
primary
#305397
secondary
#B99E6A
accent
#AB4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80