#304E54
Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.3% 0.037 211.6), rgb(48, 78, 84).
Aa
White text reads best on this color (8.96:1).
About this color
#304E54 is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.037 and its hue 212°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.010 away. White text reads best on it, at 8.96:1.
| Hue family | Teals and cyans |
| Lightness | dark (40%) |
| Chroma | muted (0.037) |
| Temperature | cool |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.34:1 |
| White text | 8.96:1 |
Values
| HEX | #304E54 |
| RGB | rgb(48, 78, 84) |
| HSL | hsl(190, 27%, 26%) |
| OKLCH | oklch(40.3% 0.037 211.6) |
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 #304E54 | 8.96:1 | AAA | Lc -94.9 | Preferred for body text |
| Black text on #304E54 | 2.34:1 | Fails | Lc 13.5 | Not readable |
| #304E54 text on white | 8.96:1 | AAA | Lc 90.5 | Preferred for body text |
| #304E54 text on black | 2.34:1 | Fails | Lc -11.8 | 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 800.
-
Step 50
50
#F3F6F6
oklch(97.1% 0.003 197.1)
-
Step 100
100
#E5EBEC
oklch(93.6% 0.007 208.8)
-
Step 200
200
#D1DBDE
oklch(88.5% 0.012 217.6)
-
Step 300
300
#B2C5C9
oklch(81% 0.022 211.8)
-
Step 400
400
#89A7AD
oklch(70.8% 0.034 211.1)
-
Step 500
500
#6A9199
oklch(63.1% 0.045 211.7)
-
Step 600
600
#517B84
oklch(55.6% 0.048 212.6)
-
Step 700
700
#42686F
oklch(49.2% 0.044 210.4)
-
Step 800
800 (this color)
#304E54
oklch(40.3% 0.037 211.6)
-
Step 900
900
#2F464A
oklch(37.7% 0.029 209.5)
-
Step 950
950
#1C292C
oklch(27% 0.019 213.5)
#304E54 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) | #494C54 | 0.035 |
| Deuteranopia (no green cones) | #434754 | 0.033 |
| Tritanopia (no blue cones) | #215150 | 0.020 |
| Achromatopsia (no color) | #494949 | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #304E54
#304E54
oklch(40.3% 0.037 211.6)
- #5B413C
#5B413C
oklch(40.3% 0.038 31.1)
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 #304E54, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.010
- Charcoal #264653 ΔE 0.030
- Dark Grey Blue #29465B ΔE 0.034
- Deep Teal #00555A ΔE 0.034
- Dark Teal #014D4E ΔE 0.037
- Dark Blue Green #005249 ΔE 0.043
- Charcoal Grey #3C4142 ΔE 0.044
- Petrol #005F6A ΔE 0.057
Use #304E54 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.