#305CA1#305CA1
#305CA1 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.0% C 0.122 H 259.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #305CA1 |
|---|---|
| RGB | rgb(48, 92, 161) |
| HSL | hsl(217, 54%, 41%) |
| HSV | hsv(217, 70%, 63%) |
| CMYK | cmyk(70.2%, 42.9%, 0%, 36.9%) |
| CIE-LAB | lab(39.33, 8.62, -41.86) |
| CIE-LCH | lch(39.33, 42.74, 281.64°) |
| OKLab | oklab(47.96% -0.023 -0.1195) |
| OKLCH | oklch(47.96% 0.122 259.1) |
| XYZ | xyz(11.4768, 10.8547, 35.2016) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.42
Light Navy Blue
#2E5A88
ΔE00 3.49
Denim
#1560BD
ΔE00 3.61
Dusk Blue
#26538D
ΔE00 3.81
Denim (survey)
#3B638C
ΔE00 4.00
Dusky Blue
#475F94
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305CA1 #A17530
analogous
#3094A1 #305CA1 #3C30A1
triadic
#305CA1 #A1305C #5CA130
tetradic
#305CA1 #A13094 #A17530 #30A13C
square
#305CA1 #A13094 #A17530 #30A13C
split-complementary
#305CA1 #A13C30 #94A130
monochromatic
#142643 #224172 #305CA1 #4679C8 #759BD6
Accessibility & contrast
On white
6.62
#305CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#305CA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #305CA1
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305CA1 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B62A4
Deuteranopia (green-blind)
#2958A0
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #305ca1; /* rgb */ color: rgb(48, 92, 161); /* oklch */ color: oklch(48.0% 0.122 259.1);
Tailwind
colors: {
custom: {
50: '#7689bd',
500: '#305ca1',
950: '#000000',
},
}SCSS
$custom: #305ca1; $custom-light: #7689bd; $custom-dark: #000000;
JSON
{
"hex": "#305ca1",
"rgb": {
"r": 48,
"g": 92,
"b": 161
},
"hsl": {
"h": 216.637,
"s": 54.067,
"l": 40.98
},
"oklch": {
"l": 0.47958,
"c": 0.12173,
"h": 259.1
},
"luminance": 0.10856
}Semantic roles & 50–950 ramp
primary
#305CA1
secondary
#BE9F6F
accent
#A44ADD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81