#1F4058
Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.8% 0.057 242.2), rgb(31, 64, 88).
Aa
White text reads best on this color (10.86:1).
About this color
#1F4058 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.057 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.022 away. White text reads best on it, at 10.86:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | muted (0.057) |
| Temperature | cool |
| Nearest name | Dark Blue Grey (#1F3B4D) |
| Black text | 1.93:1 |
| White text | 10.86:1 |
Values
| HEX | #1F4058 |
| RGB | rgb(31, 64, 88) |
| HSL | hsl(205, 48%, 23%) |
| OKLCH | oklch(35.8% 0.057 242.2) |
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 #1F4058 | 10.86:1 | AAA | Lc -98.9 | Preferred for body text |
| Black text on #1F4058 | 1.93:1 | Fails | Lc 8.9 | Not readable |
| #1F4058 text on white | 10.86:1 | AAA | Lc 95.0 | Preferred for body text |
| #1F4058 text on black | 1.93:1 | Fails | Lc -7.6 | 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
#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
#7BA6C8
oklch(70.7% 0.068 242.7)
-
Step 500
500
#5790BA
oklch(63.1% 0.087 241.9)
-
Step 600
600
#3B79A6
oklch(55.5% 0.095 242.6)
-
Step 700
700
#2C668E
oklch(49% 0.088 241.8)
-
Step 800
800
#265374
oklch(42.6% 0.074 243)
-
Step 900
900 (this color)
#1F4058
oklch(35.8% 0.057 242.2)
-
Step 950
950
#162937
oklch(27.2% 0.036 241.7)
#1F4058 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) | #354059 | 0.028 |
| Deuteranopia (no green cones) | #2E3A58 | 0.025 |
| Tritanopia (no blue cones) | #004648 | 0.044 |
| Achromatopsia (no color) | #3D3D3D | 0.057 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F4058
#1F4058
oklch(35.8% 0.057 242.2)
- #52351B
#52351B
oklch(35.7% 0.057 61.2)
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 #1F4058, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Blue Grey #1F3B4D ΔE 0.022
- Dark Grey Blue #29465B ΔE 0.024
- Charcoal #264653 ΔE 0.026
- Midnight Green #073B4C ΔE 0.033
- Prussian Blue #1D3557 ΔE 0.036
- Onyx #343A40 ΔE 0.046
- Marine Blue #01386A ΔE 0.050
- Gunmetal #293241 ΔE 0.052
Use #1F4058 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.