#5956CB
Closest named color: Iris (#6258C4). oklch(52.2% 0.176 279.5), rgb(89, 86, 203).
Aa
White text reads best on this color (5.80:1).
About this color
#5956CB is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.176 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.019 away. White text reads best on it, at 5.80:1.
| Hue family | Blues |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.176) |
| Temperature | cool |
| Nearest name | Iris (#6258C4) |
| Black text | 3.61:1 |
| White text | 5.80:1 |
Values
| HEX | #5956CB |
| RGB | rgb(89, 86, 203) |
| HSL | hsl(242, 53%, 57%) |
| OKLCH | oklch(52.2% 0.176 279.5) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #5956CB | 5.80:1 | AA | Lc -83.9 | Fine for body text |
| Black text on #5956CB | 3.61:1 | AA large text | Lc 25.4 | Dividers and decoration only |
| #5956CB text on white | 5.80:1 | AA | Lc 78.7 | Fine for body text |
| #5956CB text on black | 3.61:1 | AA large text | Lc -23.1 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.
-
Step 50
50
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E6E9FB
oklch(93.7% 0.024 278.4)
-
Step 200
200
#D2D6F9
oklch(88.4% 0.048 280.2)
-
Step 300
300
#B5BBF7
oklch(80.9% 0.085 279.9)
-
Step 400
400
#9096F4
oklch(70.8% 0.137 279.5)
-
Step 500
500
#7778EF
oklch(63% 0.174 279.8)
-
Step 600
600
#615EDE
oklch(55.6% 0.19 279.3)
-
Step 700
700 (this color)
#5956CB
oklch(52.2% 0.176 279.5)
-
Step 800
800
#42409C
oklch(42.8% 0.146 279.3)
-
Step 900
900
#37377C
oklch(37.7% 0.114 279.4)
-
Step 950
950
#202148
oklch(27% 0.071 279.4)
#5956CB with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #006ACF | 0.075 |
| Deuteranopia (no green cones) | #0061C9 | 0.071 |
| Tritanopia (no blue cones) | #1C7288 | 0.153 |
| Achromatopsia (no color) | #656565 | 0.177 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5956CB
#5956CB
oklch(52.2% 0.176 279.5)
- #796A00
#796A00
oklch(52.2% 0.108 99.5)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #5956CB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Iris #6258C4 ΔE 0.019
- Slate Blue #6A5ACD ΔE 0.029
- Warm Blue #4B57DB ΔE 0.031
- Dark Periwinkle #665FD1 ΔE 0.032
- Light Indigo #6D5ACF ΔE 0.034
- Bluey Purple #6241C7 ΔE 0.046
- Royal Blue #4169E1 ΔE 0.058
- Blue With A Hint Of Purple #533CC6 ΔE 0.058
Use #5956CB in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.