#305692#305692
#305692 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.6% C 0.108 H 259.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #305692 |
|---|---|
| RGB | rgb(48, 86, 146) |
| HSL | hsl(217, 51%, 38%) |
| HSV | hsv(217, 67%, 57%) |
| CMYK | cmyk(67.1%, 41.1%, 0%, 42.7%) |
| CIE-LAB | lab(36.67, 6.92, -37.11) |
| CIE-LCH | lch(36.67, 37.75, 280.56°) |
| OKLab | oklab(45.6% -0.0202 -0.1057) |
| OKLCH | oklch(45.6% 0.108 259.2) |
| XYZ | xyz(9.7332, 9.3583, 28.4820) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.69
Denim Blue
#3B5B92
ΔE00 2.01
Light Navy Blue
#2E5A88
ΔE00 2.87
Light Navy
#155084
ΔE00 4.23
Dusky Blue
#475F94
ΔE00 4.34
Cobalt (survey)
#1E488F
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305692 #926C30
analogous
#308792 #305692 #3B3092
triadic
#305692 #923056 #569230
tetradic
#305692 #923087 #926C30 #30923B
square
#305692 #923087 #926C30 #30923B
split-complementary
#305692 #923B30 #879230
monochromatic
#122036 #213B64 #305692 #3F71C0 #6D93CF
Accessibility & contrast
On white
7.31
#305692 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#305692 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305692
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305692 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305692 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5B94
Deuteranopia (green-blind)
#2C5291
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #305692; /* rgb */ color: rgb(48, 86, 146); /* oklch */ color: oklch(45.6% 0.108 259.2);
Tailwind
colors: {
custom: {
50: '#7385b2',
500: '#305692',
950: '#000000',
},
}SCSS
$custom: #305692; $custom-light: #7385b2; $custom-dark: #000000;
JSON
{
"hex": "#305692",
"rgb": {
"r": 48,
"g": 86,
"b": 146
},
"hsl": {
"h": 216.735,
"s": 50.515,
"l": 38.039
},
"oklch": {
"l": 0.45602,
"c": 0.10759,
"h": 259.2
},
"luminance": 0.09359
}Semantic roles & 50–950 ramp
primary
#305692
secondary
#B79867
accent
#A44EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80