#305EAB#305EAB
#305EAB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.133 H 260.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #305EAB |
|---|---|
| RGB | rgb(48, 94, 171) |
| HSL | hsl(218, 56%, 43%) |
| HSV | hsv(218, 72%, 67%) |
| CMYK | cmyk(71.9%, 45%, 0%, 32.9%) |
| CIE-LAB | lab(40.53, 11.08, -45.89) |
| CIE-LCH | lch(40.53, 47.20, 283.58°) |
| OKLab | oklab(49.08% -0.023 -0.1313) |
| OKLCH | oklch(49.08% 0.133 260.1) |
| XYZ | xyz(12.5697, 11.5727, 40.0915) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.59
Denim Blue
#3B5B92
ΔE00 3.48
Denim (survey)
#3B638C
ΔE00 4.36
Sapphire
#0F52BA
ΔE00 4.41
French Blue
#436BAD
ΔE00 4.56
Dusky Blue
#475F94
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305EAB #AB7D30
analogous
#309BAB #305EAB #4030AB
triadic
#305EAB #AB305E #5EAB30
tetradic
#305EAB #AB309B #AB7D30 #30AB40
square
#305EAB #AB309B #AB7D30 #30AB40
split-complementary
#305EAB #AB4030 #9BAB30
monochromatic
#15294B #23447B #305EAB #4C7CCD #7B9FDA
Accessibility & contrast
On white
6.34
#305EAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#305EAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305EAB
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305EAB | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3866AE
Deuteranopia (green-blind)
#205AA9
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #305eab; /* rgb */ color: rgb(48, 94, 171); /* oklch */ color: oklch(49.1% 0.133 260.1);
Tailwind
colors: {
custom: {
50: '#788bc4',
500: '#305eab',
950: '#000000',
},
}SCSS
$custom: #305eab; $custom-light: #788bc4; $custom-dark: #000000;
JSON
{
"hex": "#305eab",
"rgb": {
"r": 48,
"g": 94,
"b": 171
},
"hsl": {
"h": 217.561,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.49078,
"c": 0.13332,
"h": 260.1
},
"luminance": 0.11574
}Semantic roles & 50–950 ramp
primary
#305EAB
secondary
#C3A574
accent
#A748DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82