#2A6782
Closest named color: Denim (#3B638C). oklch(48.6% 0.076 230.2), rgb(42, 103, 130).
Aa
White text reads best on this color (6.24:1).
About this color
#2A6782 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.076 and its hue 230°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.028 away. White text reads best on it, at 6.24:1.
| Hue family | Blues |
| Lightness | medium-dark (49%) |
| Chroma | moderately saturated (0.076) |
| Temperature | cool |
| Nearest name | Denim (#3B638C) |
| Black text | 3.36:1 |
| White text | 6.24:1 |
Values
| HEX | #2A6782 |
| RGB | rgb(42, 103, 130) |
| HSL | hsl(198, 51%, 34%) |
| OKLCH | oklch(48.6% 0.076 230.2) |
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 #2A6782 | 6.24:1 | AA | Lc -86.1 | Fine for body text |
| Black text on #2A6782 | 3.36:1 | AA large text | Lc 23.1 | Dividers and decoration only |
| #2A6782 text on white | 6.24:1 | AA | Lc 80.9 | Fine for body text |
| #2A6782 text on black | 3.36:1 | AA large text | Lc -20.9 | 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
#F2F6F8
oklch(97.1% 0.005 228.8)
-
Step 100
100
#E3EBF0
oklch(93.5% 0.011 234.8)
-
Step 200
200
#CCDCE4
oklch(88.5% 0.02 229.1)
-
Step 300
300
#A9C6D4
oklch(81% 0.037 228.5)
-
Step 400
400
#7BA8BE
oklch(70.7% 0.058 229.7)
-
Step 500
500
#5792AE
oklch(63.1% 0.075 230)
-
Step 600
600
#3A7C9A
oklch(55.6% 0.081 230.3)
-
Step 700
700 (this color)
#2A6782
oklch(48.6% 0.076 230.2)
-
Step 800
800
#26556B
oklch(42.7% 0.063 231)
-
Step 900
900
#244657
oklch(37.6% 0.049 231.8)
-
Step 950
950
#162933
oklch(26.9% 0.031 232.5)
#2A6782 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) | #596583 | 0.052 |
| Deuteranopia (no green cones) | #4D5D82 | 0.045 |
| Tritanopia (no blue cones) | #006E70 | 0.046 |
| Achromatopsia (no color) | #606060 | 0.076 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A6782
#2A6782
oklch(48.6% 0.076 230.2)
- #825237
#825237
oklch(48.6% 0.076 49.6)
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 #2A6782, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Denim #3B638C ΔE 0.028
- Peacock Blue #016795 ΔE 0.034
- YInMn Blue #415A77 ΔE 0.041
- Sea Blue #047495 ΔE 0.043
- Light Navy Blue #2E5A88 ΔE 0.043
- Ocean Blue #03719C ΔE 0.045
- Slate #516572 ΔE 0.045
- Dark Aqua #05696B ΔE 0.046
Use #2A6782 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.