#4862CF
Closest named color: Royal Blue (#4169E1). oklch(53.6% 0.171 269.7), rgb(72, 98, 207).
Aa
White text reads best on this color (5.35:1).
About this color
#4862CF is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.171 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.031 away. White text reads best on it, at 5.35:1.
| Hue family | Blues |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.171) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 3.92:1 |
| White text | 5.35:1 |
Values
| HEX | #4862CF |
| RGB | rgb(72, 98, 207) |
| HSL | hsl(228, 58%, 55%) |
| OKLCH | oklch(53.6% 0.171 269.7) |
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 #4862CF | 5.35:1 | AA | Lc -81.6 | Fine for body text |
| Black text on #4862CF | 3.92:1 | AA large text | Lc 27.8 | Dividers and decoration only |
| #4862CF text on white | 5.35:1 | AA | Lc 76.3 | Fine for body text |
| #4862CF text on black | 3.92:1 | AA large text | Lc -25.4 | 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 600.
-
Step 50
50
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E4EAF9
oklch(93.7% 0.021 268.4)
-
Step 200
200
#CED9F6
oklch(88.6% 0.042 269)
-
Step 300
300
#ADBFF3
oklch(80.9% 0.076 269.8)
-
Step 400
400
#829CED
oklch(70.6% 0.123 269.6)
-
Step 500
500
#6581E8
oklch(63.1% 0.158 270)
-
Step 600
600 (this color)
#4862CF
oklch(53.6% 0.171 269.7)
-
Step 700
700
#3F56B9
oklch(49.1% 0.158 269.8)
-
Step 800
800
#334796
oklch(42.7% 0.132 269.4)
-
Step 900
900
#2D3C77
oklch(37.6% 0.102 270.2)
-
Step 950
950
#1A2446
oklch(27.1% 0.065 269.4)
#4862CF 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) | #1A71D3 | 0.046 |
| Deuteranopia (no green cones) | #0065CD | 0.045 |
| Tritanopia (no blue cones) | #007C8F | 0.142 |
| Achromatopsia (no color) | #6B6B6B | 0.171 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4862CF
#4862CF
oklch(53.6% 0.171 269.7)
- #876A00
#876A00
oklch(53.8% 0.11 89.7)
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 #4862CF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.031
- Warm Blue #4B57DB ΔE 0.033
- Dark Periwinkle #665FD1 ΔE 0.040
- Iris #6258C4 ΔE 0.042
- Slate Blue #6A5ACD ΔE 0.048
- Neon Blue #4361EE ΔE 0.048
- Light Indigo #6D5ACF ΔE 0.052
- Mid Blue #276AB3 ΔE 0.059
Use #4862CF 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.