#334AC0
Closest named color: Blue Blue (#2242C7). oklch(46.7% 0.186 269.3), rgb(51, 74, 192).
Aa
White text reads best on this color (7.28:1).
About this color
#334AC0 is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.186 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.029 away. White text reads best on it, at 7.28:1.
| Hue family | Blues |
| Lightness | medium-dark (47%) |
| Chroma | vivid (0.186) |
| Temperature | cool |
| Nearest name | Blue Blue (#2242C7) |
| Black text | 2.88:1 |
| White text | 7.28:1 |
Values
| HEX | #334AC0 |
| RGB | rgb(51, 74, 192) |
| HSL | hsl(230, 58%, 48%) |
| OKLCH | oklch(46.7% 0.186 269.3) |
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 #334AC0 | 7.28:1 | AAA | Lc -89.6 | Fine for body text |
| Black text on #334AC0 | 2.88:1 | Fails | Lc 19.3 | Dividers and decoration only |
| #334AC0 text on white | 7.28:1 | AAA | Lc 84.7 | Fine for body text |
| #334AC0 text on black | 2.88:1 | Fails | Lc -17.3 | Dividers and decoration only |
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 700.
-
Step 50
50
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E3EAFC
oklch(93.7% 0.025 268.8)
-
Step 200
200
#CCD8FB
oklch(88.4% 0.05 270.4)
-
Step 300
300
#A9BFFC
oklch(81% 0.09 269)
-
Step 400
400
#7D9BFA
oklch(70.8% 0.143 269.3)
-
Step 500
500
#5E7EF7
oklch(63.1% 0.184 269.4)
-
Step 600
600
#4664E6
oklch(55.6% 0.199 269.1)
-
Step 700
700 (this color)
#334AC0
oklch(46.7% 0.186 269.3)
-
Step 800
800
#2F44A2
oklch(42.8% 0.154 269.3)
-
Step 900
900
#293A80
oklch(37.6% 0.12 269.6)
-
Step 950
950
#18234B
oklch(27.1% 0.075 269.3)
#334AC0 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) | #005DC4 | 0.049 |
| Deuteranopia (no green cones) | #0050BE | 0.031 |
| Tritanopia (no blue cones) | #00687E | 0.147 |
| Achromatopsia (no color) | #565656 | 0.186 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #334AC0
#334AC0
oklch(46.7% 0.186 269.3)
- #6F5700
#6F5700
oklch(46.8% 0.096 90.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 #334AC0, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue Blue #2242C7 ΔE 0.029
- Majorelle Blue #3F37C9 ΔE 0.040
- Blue With A Hint Of Purple #533CC6 ΔE 0.049
- Blurple #5539CC ΔE 0.056
- Sapphire #2138AB ΔE 0.061
- Warm Blue #4B57DB ΔE 0.062
- Bluey Purple #6241C7 ΔE 0.069
- Blueberry #464196 ΔE 0.073
Use #334AC0 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.