#304C56
Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.8% 0.038 222.5), rgb(48, 76, 86).
Aa
White text reads best on this color (9.15:1).
About this color
#304C56 is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.038 and its hue 222°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.018 away. White text reads best on it, at 9.15:1.
| Hue family | Teals and cyans |
| Lightness | dark (40%) |
| Chroma | muted (0.038) |
| Temperature | cool |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.29:1 |
| White text | 9.15:1 |
Values
| HEX | #304C56 |
| RGB | rgb(48, 76, 86) |
| HSL | hsl(196, 28%, 26%) |
| OKLCH | oklch(39.8% 0.038 222.5) |
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 #304C56 | 9.15:1 | AAA | Lc -95.4 | Preferred for body text |
| Black text on #304C56 | 2.29:1 | Fails | Lc 12.9 | Not readable |
| #304C56 text on white | 9.15:1 | AAA | Lc 91.0 | Preferred for body text |
| #304C56 text on black | 2.29:1 | Fails | Lc -11.3 | Not readable |
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 900.
-
Step 50
50
#F3F6F7
oklch(97.1% 0.003 219.5)
-
Step 100
100
#E4EBEE
oklch(93.6% 0.009 225.1)
-
Step 200
200
#CFDCE1
oklch(88.6% 0.016 222.7)
-
Step 300
300
#AEC5CE
oklch(80.9% 0.028 223.3)
-
Step 400
400
#82A7B5
oklch(70.6% 0.045 223)
-
Step 500
500
#6292A3
oklch(63.2% 0.058 222.2)
-
Step 600
600
#477C8E
oklch(55.7% 0.063 222)
-
Step 700
700
#386879
oklch(49% 0.059 223.2)
-
Step 800
800
#2F5562
oklch(42.7% 0.048 222.1)
-
Step 900
900 (this color)
#304C56
oklch(39.8% 0.038 222.5)
-
Step 950
950
#19292F
oklch(26.9% 0.024 223.4)
#304C56 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) | #464B57 | 0.031 |
| Deuteranopia (no green cones) | #404656 | 0.028 |
| Tritanopia (no blue cones) | #214F4F | 0.024 |
| Achromatopsia (no color) | #484848 | 0.038 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #304C56
#304C56
oklch(39.8% 0.038 222.5)
- #594137
#594137
oklch(39.9% 0.037 43.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 #304C56, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.018
- Charcoal #264653 ΔE 0.024
- Dark Grey Blue #29465B ΔE 0.026
- Deep Teal #00555A ΔE 0.038
- Dark Teal #014D4E ΔE 0.039
- Charcoal Grey #3C4142 ΔE 0.041
- Dark Blue Green #005249 ΔE 0.048
- Onyx #343A40 ΔE 0.059
Use #304C56 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.