#2257CA
Closest named color: Blue Blue (#2242C7). oklch(49.4% 0.188 262.8), rgb(34, 87, 202).
Aa
White text reads best on this color (6.39:1).
About this color
#2257CA is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.188 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.049 away. White text reads best on it, at 6.39:1.
| Hue family | Blues |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.188) |
| Temperature | cool |
| Nearest name | Blue Blue (#2242C7) |
| Black text | 3.28:1 |
| White text | 6.39:1 |
Values
| HEX | #2257CA |
| RGB | rgb(34, 87, 202) |
| HSL | hsl(221, 71%, 46%) |
| OKLCH | oklch(49.4% 0.188 262.8) |
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 #2257CA | 6.39:1 | AA | Lc -86.3 | Fine for body text |
| Black text on #2257CA | 3.28:1 | AA large text | Lc 22.9 | Dividers and decoration only |
| #2257CA text on white | 6.39:1 | AA | Lc 81.1 | Fine for body text |
| #2257CA text on black | 3.28:1 | AA large text | Lc -20.7 | 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
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#E1EAFC
oklch(93.6% 0.026 264.4)
-
Step 200
200
#C8DAFB
oklch(88.5% 0.05 262.6)
-
Step 300
300
#A2C1FC
oklch(80.9% 0.091 263)
-
Step 400
400
#6F9EFB
oklch(70.7% 0.146 262.9)
-
Step 500
500
#4A83F8
oklch(63.2% 0.185 262.7)
-
Step 600
600
#2E68E7
oklch(55.5% 0.202 263)
-
Step 700
700 (this color)
#2257CA
oklch(49.4% 0.188 262.8)
-
Step 800
800
#1D47A2
oklch(42.7% 0.155 262.9)
-
Step 900
900
#1D3D81
oklch(37.8% 0.121 263)
-
Step 950
950
#11244B
oklch(26.9% 0.077 262.8)
#2257CA 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) | #0067CE | 0.039 |
| Deuteranopia (no green cones) | #0058C8 | 0.014 |
| Tritanopia (no blue cones) | #007488 | 0.145 |
| Achromatopsia (no color) | #5F5F5F | 0.188 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2257CA
#2257CA
oklch(49.4% 0.188 262.8)
- #7E5B00
#7E5B00
oklch(49.5% 0.102 82.4)
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 #2257CA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue Blue #2242C7 ΔE 0.049
- Warm Blue #4B57DB ΔE 0.049
- Azul #1D5DEC ΔE 0.054
- Mid Blue #276AB3 ΔE 0.066
- Royal Blue #4169E1 ΔE 0.066
- Majorelle Blue #3F37C9 ΔE 0.068
- Neon Blue #4361EE ΔE 0.070
- Blue With A Hint Of Purple #533CC6 ΔE 0.074
Use #2257CA 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.