#28638B
Closest named color: Denim (#3B638C). oklch(48% 0.089 241.7), rgb(40, 99, 139).
Aa
White text reads best on this color (6.46:1).
About this color
#28638B is a medium-dark, moderately saturated blue. In OKLCH its lightness is 48%, its chroma 0.089 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.018 away. White text reads best on it, at 6.46:1.
| Hue family | Blues |
| Lightness | medium-dark (48%) |
| Chroma | moderately saturated (0.089) |
| Temperature | cool |
| Nearest name | Denim (#3B638C) |
| Black text | 3.24:1 |
| White text | 6.46:1 |
Values
| HEX | #28638B |
| RGB | rgb(40, 99, 139) |
| HSL | hsl(204, 55%, 35%) |
| OKLCH | oklch(48% 0.089 241.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 #28638B | 6.46:1 | AA | Lc -86.9 | Fine for body text |
| Black text on #28638B | 3.24:1 | AA large text | Lc 22.2 | Dividers and decoration only |
| #28638B text on white | 6.46:1 | AA | Lc 81.8 | Fine for body text |
| #28638B text on black | 3.24:1 | AA large text | Lc -20.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
#F2F6F9
oklch(97.1% 0.006 239.8)
-
Step 100
100
#E3EBF2
oklch(93.6% 0.013 244.3)
-
Step 200
200
#CCDBE8
oklch(88.4% 0.024 244.2)
-
Step 300
300
#A9C5DA
oklch(80.9% 0.042 240.5)
-
Step 400
400
#7AA6C8
oklch(70.6% 0.069 242.1)
-
Step 500
500
#5790BA
oklch(63.1% 0.087 241.9)
-
Step 600
600
#3A7AA6
oklch(55.7% 0.095 241.3)
-
Step 700
700 (this color)
#28638B
oklch(48% 0.089 241.7)
-
Step 800
800
#255374
oklch(42.6% 0.075 242.5)
-
Step 900
900
#24455D
oklch(37.7% 0.057 241.9)
-
Step 950
950
#162937
oklch(27.2% 0.036 241.7)
#28638B 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) | #51648D | 0.045 |
| Deuteranopia (no green cones) | #435A8A | 0.035 |
| Tritanopia (no blue cones) | #006D71 | 0.063 |
| Achromatopsia (no color) | #5E5E5E | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #28638B
#28638B
oklch(48% 0.089 241.7)
- #815123
#815123
oklch(48% 0.088 61.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 #28638B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Denim #3B638C ΔE 0.018
- Peacock Blue #016795 ΔE 0.022
- Light Navy Blue #2E5A88 ΔE 0.026
- Denim Blue #3B5B92 ΔE 0.032
- Dusky Blue #475F94 ΔE 0.037
- YInMn Blue #415A77 ΔE 0.040
- Ocean Blue #03719C ΔE 0.044
- Sea Blue #047495 ΔE 0.049
Use #28638B 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.