#40468D
A color in the Blue, Sky, Navy family
#40468d is a color in the Blue, Sky, Navy family: RGB(64, 70, 141), HSL(235°, 38%, 40%), CMYK(55%, 50%, 0%, 45%). Closest named color: darkslateblue. Contrast is 8.47:1 on white and 2.48:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #40468d |
|---|---|
| RGB | rgb(64 70 141) |
| RGB (legacy) | rgb(64, 70, 141) |
| RGB % | rgb(25% 27% 55%) |
| HSL | hsl(235 38% 40%) |
| HSV / HSB | hsv(235, 55%, 55%) |
| HWB | hwb(235 25% 45%) |
| CMYK | cmyk(55%, 50%, 0%, 45%) |
| CIELAB (D50) | lab(32.14 14.21 -41.05) |
| LCH | lch(32.14 43.44 289.09) |
| OKLab | oklab(0.427 0.0135 -0.1151) |
| OKLCH | oklch(0.427 0.1159 276.68) |
| Decimal | 4212365 |
Properties
| Color Tone | Blue, Sky, Navy |
|---|---|
| Closest named color | darkslateblue ΔE 2.5 |
| Closest web-safe color | #333399 |
| Hue | 235° |
| Saturation (HSL / HSV) | 38% / 55% |
| Lightness (HSL) | 40% |
| Brightness or Value (HSV) | 55% |
| Luminance (Rec.601 / Rec.709) | 30% / 29% |
| Relative luminance (WCAG) | 0.0739 |
| Red / Green / Blue | 64 / 70 / 141 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
8.47:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.48:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123
APCA Contrast Lc (reference) — As text on white / black: Lc 89 / -13.2 · As background with white / black text: Lc -93.5 / 15
Lightness Scale (OKLCH 50–950)
Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.
Tints (mixed with white)
Shades (mixed with black)
Color Harmonies
Complementary
Split Complementary
Analogous
Color Vision Deficiency Simulation
Estimated appearance of this color for people with color vision deficiencies (Machado 2009).
Similar Named Colors
Use in CSS
:root {
--color-brand: #40468d;
--color-brand-oklch: oklch(42.7% 0.1159 276.68);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(64 70 141 / 50%); }
/* Tailwind CSS */
<div class="bg-[#40468d] text-[#40468d] border-[#40468d]">