#0256CD
Closest named color: Blue Blue (#2242C7). oklch(48.9% 0.197 260), rgb(2, 86, 205).
Aa
White text reads best on this color (6.53:1).
About this color
#0256CD is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.197 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.045 away. White text reads best on it, at 6.53:1.
| Hue family | Blues |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.197) |
| Temperature | cool |
| Nearest name | Blue Blue (#2242C7) |
| Black text | 3.21:1 |
| White text | 6.53:1 |
Values
| HEX | #0256CD |
| RGB | rgb(2, 86, 205) |
| HSL | hsl(215, 98%, 41%) |
| OKLCH | oklch(48.9% 0.197 260) |
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 #0256CD | 6.53:1 | AA | Lc -86.5 | Fine for body text |
| Black text on #0256CD | 3.21:1 | AA large text | Lc 22.6 | Dividers and decoration only |
| #0256CD text on white | 6.53:1 | AA | Lc 81.4 | Fine for body text |
| #0256CD text on black | 3.21:1 | AA large text | Lc -20.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 700.
-
Step 50
50
#F0F6FE
oklch(97.1% 0.012 255.5)
-
Step 100
100
#DFEBFD
oklch(93.6% 0.028 258.4)
-
Step 200
200
#C5DAFD
oklch(88.4% 0.054 260.6)
-
Step 300
300
#9DC2FF
oklch(81% 0.096 260.2)
-
Step 400
400
#669FFF
oklch(70.7% 0.154 260.3)
-
Step 500
500
#3A84FD
oklch(63.2% 0.195 259.9)
-
Step 600
600
#1369EC
oklch(55.5% 0.212 260)
-
Step 700
700 (this color)
#0256CD
oklch(48.9% 0.197 260)
-
Step 800
800
#0A48A6
oklch(42.8% 0.163 259.9)
-
Step 900
900
#123D84
oklch(37.6% 0.129 260.1)
-
Step 950
950
#0C254D
oklch(27.1% 0.08 259.5)
#0256CD 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) | #0066D1 | 0.041 |
| Deuteranopia (no green cones) | #0055CB | 0.004 |
| Tritanopia (no blue cones) | #007589 | 0.150 |
| Achromatopsia (no color) | #5E5E5E | 0.198 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0256CD
#0256CD
oklch(48.9% 0.197 260)
- #7E5800
#7E5800
oklch(48.8% 0.101 79.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 #0256CD, closest first.
No curated palette has a color within ΔE 0.04 of #0256CD.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue Blue #2242C7 ΔE 0.045
- Azul #1D5DEC ΔE 0.053
- Warm Blue #4B57DB ΔE 0.060
- Majorelle Blue #3F37C9 ΔE 0.071
- Mid Blue #276AB3 ΔE 0.074
- Royal Blue #4169E1 ΔE 0.074
- Neon Blue #4361EE ΔE 0.076
- Electric Blue #0652FF ΔE 0.077
Use #0256CD 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.