#415197#415197
#415197 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.8% C 0.115 H 271.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #415197 |
|---|---|
| RGB | rgb(65, 81, 151) |
| HSL | hsl(229, 40%, 42%) |
| HSV | hsv(229, 57%, 59%) |
| CMYK | cmyk(57%, 46.4%, 0%, 40.8%) |
| CIE-LAB | lab(36.45, 15.41, -40.42) |
| CIE-LCH | lch(36.45, 43.26, 290.87°) |
| OKLab | oklab(45.78% 0.003 -0.1151) |
| OKLCH | oklch(45.78% 0.115 271.5) |
| XYZ | xyz(10.7065, 9.2423, 30.4919) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.05
Denim Blue
#3B5B92
ΔE00 4.66
Dusky Blue
#475F94
ΔE00 4.95
Cobalt (survey)
#1E488F
ΔE00 5.36
Dusk Blue
#26538D
ΔE00 5.78
Dusk
#4E5481
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#415197 #978741
analogous
#417C97 #415197 #5C4197
triadic
#415197 #974151 #519741
tetradic
#415197 #97417C #978741 #41975C
square
#415197 #97417C #978741 #41975C
split-complementary
#415197 #975C41 #7C9741
monochromatic
#1C2341 #2F3A6C #415197 #5C6EB9 #8794CB
Accessibility & contrast
On white
7.37
#415197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#415197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #415197
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##415197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##415197 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#0F606C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #415197; /* rgb */ color: rgb(65, 81, 151); /* oklch */ color: oklch(45.8% 0.115 271.5);
Tailwind
colors: {
custom: {
50: '#7d81b6',
500: '#415197',
950: '#000000',
},
}SCSS
$custom: #415197; $custom-light: #7d81b6; $custom-dark: #000000;
JSON
{
"hex": "#415197",
"rgb": {
"r": 65,
"g": 81,
"b": 151
},
"hsl": {
"h": 228.837,
"s": 39.815,
"l": 42.353
},
"oklch": {
"l": 0.45782,
"c": 0.11517,
"h": 271.5
},
"luminance": 0.09243
}Semantic roles & 50–950 ramp
primary
#415197
secondary
#B6AC7E
accent
#B958D0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80