#124A9D
Closest named color: Cobalt (#1E488F). oklch(42.6% 0.147 259.1), rgb(18, 74, 157).
Aa
White text reads best on this color (8.42:1).
About this color
#124A9D is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.147 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.023 away. White text reads best on it, at 8.42:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | vivid (0.147) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.49:1 |
| White text | 8.42:1 |
Values
| HEX | #124A9D |
| RGB | rgb(18, 74, 157) |
| HSL | hsl(216, 79%, 34%) |
| OKLCH | oklch(42.6% 0.147 259.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 #124A9D | 8.42:1 | AAA | Lc -93.1 | Preferred for body text |
| Black text on #124A9D | 2.49:1 | Fails | Lc 15.5 | Dividers and decoration only |
| #124A9D text on white | 8.42:1 | AAA | Lc 88.5 | Fine for body text |
| #124A9D text on black | 2.49:1 | Fails | Lc -13.7 | 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
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E0EBFB
oklch(93.7% 0.025 257.6)
-
Step 200
200
#C7DBF9
oklch(88.6% 0.047 258.4)
-
Step 300
300
#9FC2F8
oklch(80.8% 0.086 258.9)
-
Step 400
400
#6BA1F5
oklch(70.8% 0.136 258.9)
-
Step 500
500
#4186F1
oklch(63% 0.175 259)
-
Step 600
600
#1F6DE0
oklch(55.6% 0.191 259)
-
Step 700
700
#115AC3
oklch(49.1% 0.178 259.1)
-
Step 800
800 (this color)
#124A9D
oklch(42.6% 0.147 259.1)
-
Step 900
900
#173F7D
oklch(37.7% 0.115 259.2)
-
Step 950
950
#0F2549
oklch(26.9% 0.073 259.8)
#124A9D 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) | #0D54A0 | 0.027 |
| Deuteranopia (no green cones) | #00479B | 0.013 |
| Tritanopia (no blue cones) | #005E6C | 0.111 |
| Achromatopsia (no color) | #4D4D4D | 0.147 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #124A9D
#124A9D
oklch(42.6% 0.147 259.1)
- #684800
#684800
oklch(42.6% 0.088 79.5)
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 #124A9D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cobalt #1E488F ΔE 0.023
- Dusk Blue #26538D ΔE 0.042
- Light Navy #155084 ΔE 0.047
- Sapphire #2138AB ΔE 0.049
- Blueberry #464196 ΔE 0.057
- Deep Sea Blue #015482 ΔE 0.057
- Twilight Blue #0A437A ΔE 0.061
- Light Navy Blue #2E5A88 ΔE 0.067
Use #124A9D 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.