#305EA7#305EA7
#305EA7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.8% C 0.128 H 259.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #305EA7 |
|---|---|
| RGB | rgb(48, 94, 167) |
| HSL | hsl(217, 55%, 42%) |
| HSV | hsv(217, 71%, 65%) |
| CMYK | cmyk(71.3%, 43.7%, 0%, 34.5%) |
| CIE-LAB | lab(40.28, 9.58, -43.91) |
| CIE-LCH | lch(40.28, 44.94, 282.31°) |
| OKLab | oklab(48.81% -0.0237 -0.1255) |
| OKLCH | oklch(48.81% 0.128 259.3) |
| XYZ | xyz(12.1942, 11.4225, 38.1138) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.82
Denim Blue
#3B5B92
ΔE00 3.14
Denim (survey)
#3B638C
ΔE00 4.04
Light Navy Blue
#2E5A88
ΔE00 4.17
Dusky Blue
#475F94
ΔE00 4.39
Sapphire
#0F52BA
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305EA7 #A77930
analogous
#309AA7 #305EA7 #3E30A7
triadic
#305EA7 #A7305E #5EA730
tetradic
#305EA7 #A7309A #A77930 #30A73E
square
#305EA7 #A7309A #A77930 #30A73E
split-complementary
#305EA7 #A73E30 #9AA730
monochromatic
#152848 #224377 #305EA7 #497BCB #799ED8
Accessibility & contrast
On white
6.39
#305EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#305EA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305EA7
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305EA7 | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B65AA
Deuteranopia (green-blind)
#265AA6
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #305ea7; /* rgb */ color: rgb(48, 94, 167); /* oklch */ color: oklch(48.8% 0.128 259.3);
Tailwind
colors: {
custom: {
50: '#778bc1',
500: '#305ea7',
950: '#000000',
},
}SCSS
$custom: #305ea7; $custom-light: #778bc1; $custom-dark: #000000;
JSON
{
"hex": "#305ea7",
"rgb": {
"r": 48,
"g": 94,
"b": 167
},
"hsl": {
"h": 216.807,
"s": 55.349,
"l": 42.157
},
"oklch": {
"l": 0.48809,
"c": 0.12775,
"h": 259.3
},
"luminance": 0.11424
}Semantic roles & 50–950 ramp
primary
#305EA7
secondary
#C1A272
accent
#A549DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81