#345162
Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.9% 0.045 235.1), rgb(52, 81, 98).
Aa
White text reads best on this color (8.40:1).
About this color
#345162 is a dark, muted blue. In OKLCH its lightness is 42%, its chroma 0.045 and its hue 235°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.033 away. White text reads best on it, at 8.40:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | muted (0.045) |
| Temperature | cool |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.49:1 |
| White text | 8.40:1 |
Values
| HEX | #345162 |
| RGB | rgb(52, 81, 98) |
| HSL | hsl(202, 31%, 29%) |
| OKLCH | oklch(41.9% 0.045 235.1) |
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 #345162 | 8.40:1 | AAA | Lc -93.5 | Preferred for body text |
| Black text on #345162 | 2.49:1 | Fails | Lc 15.1 | Dividers and decoration only |
| #345162 text on white | 8.40:1 | AAA | Lc 88.9 | Fine for body text |
| #345162 text on black | 2.49:1 | Fails | Lc -13.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 800.
-
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
#D0DBE1
oklch(88.5% 0.015 231.2)
-
Step 300
300
#B1C4CF
oklch(80.9% 0.026 233.1)
-
Step 400
400
#88A5B7
oklch(70.6% 0.042 235.4)
-
Step 500
500
#6A8FA6
oklch(63.1% 0.054 236)
-
Step 600
600
#517991
oklch(55.6% 0.058 235.6)
-
Step 700
700
#41667B
oklch(49.1% 0.054 234.3)
-
Step 800
800 (this color)
#345162
oklch(41.9% 0.045 235.1)
-
Step 900
900
#2F4552
oklch(37.8% 0.035 234.9)
-
Step 950
950
#1C2830
oklch(26.9% 0.022 237.9)
#345162 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) | #495063 | 0.029 |
| Deuteranopia (no green cones) | #434B62 | 0.026 |
| Tritanopia (no blue cones) | #215556 | 0.034 |
| Achromatopsia (no color) | #4D4D4D | 0.045 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #345162
#345162
oklch(41.9% 0.045 235.1)
- #604735
#604735
oklch(42% 0.045 56.9)
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 #345162, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.033
- Dark Grey Blue #29465B ΔE 0.039
- Deep Teal #00555A ΔE 0.042
- Charcoal #264653 ΔE 0.045
- YInMn Blue #415A77 ΔE 0.045
- Petrol #005F6A ΔE 0.048
- Dark Teal #014D4E ΔE 0.056
- Deep Sea Blue #015482 ΔE 0.059
Use #345162 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.