#304754
Closest named color: Charcoal (#264653). oklch(38.4% 0.036 233.7), rgb(48, 71, 84).
Aa
White text reads best on this color (9.74:1).
About this color
#304754 is a dark, muted blue. In OKLCH its lightness is 38%, its chroma 0.036 and its hue 234°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.013 away. White text reads best on it, at 9.74:1.
| Hue family | Blues |
| Lightness | dark (38%) |
| Chroma | muted (0.036) |
| Temperature | cool |
| Nearest name | Charcoal (#264653) |
| Black text | 2.15:1 |
| White text | 9.74:1 |
Values
| HEX | #304754 |
| RGB | rgb(48, 71, 84) |
| HSL | hsl(202, 27%, 26%) |
| OKLCH | oklch(38.4% 0.036 233.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 #304754 | 9.74:1 | AAA | Lc -96.7 | Preferred for body text |
| Black text on #304754 | 2.15:1 | Fails | Lc 11.4 | Not readable |
| #304754 text on white | 9.74:1 | AAA | Lc 92.6 | Preferred for body text |
| #304754 text on black | 2.15:1 | Fails | Lc -9.9 | 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
#E5EBEE
oklch(93.6% 0.008 228.9)
-
Step 200
200
#D0DBE2
oklch(88.5% 0.015 235.4)
-
Step 300
300
#B0C4D0
oklch(80.9% 0.028 234.1)
-
Step 400
400
#87A6B8
oklch(70.8% 0.043 233.7)
-
Step 500
500
#6890A6
oklch(63.2% 0.055 232.8)
-
Step 600
600
#4F7A91
oklch(55.7% 0.059 232.7)
-
Step 700
700
#3F667C
oklch(49% 0.057 234.3)
-
Step 800
800
#355365
oklch(42.6% 0.047 235.7)
-
Step 900
900 (this color)
#304754
oklch(38.4% 0.036 233.7)
-
Step 950
950
#1B2830
oklch(26.9% 0.023 235.8)
#304754 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) | #414655 | 0.024 |
| Deuteranopia (no green cones) | #3C4254 | 0.022 |
| Tritanopia (no blue cones) | #234B4B | 0.028 |
| Achromatopsia (no color) | #444444 | 0.036 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #304754
#304754
oklch(38.4% 0.036 233.7)
- #533E31
#533E31
oklch(38.3% 0.036 53.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 #304754, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal #264653 ΔE 0.013
- Dark Grey Blue #29465B ΔE 0.016
- Dark Slate Gray #2F4F4F ΔE 0.030
- Charcoal Grey #3C4142 ΔE 0.033
- Dark Teal #014D4E ΔE 0.042
- Onyx #343A40 ΔE 0.046
- Dark Blue Grey #1F3B4D ΔE 0.047
- Deep Teal #00555A ΔE 0.050
Use #304754 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.