#334AC5

Closest named color: Blue Blue (#2242C7). oklch(47.2% 0.192 269.3), rgb(51, 74, 197).

Aa

White text reads best on this color (7.17:1).

About this color

#334AC5 is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.192 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.027 away. White text reads best on it, at 7.17:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromavivid (0.192)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text2.92:1
White text7.17:1

Values

HEX#334AC5
RGBrgb(51, 74, 197)
HSLhsl(231, 59%, 49%)
OKLCHoklch(47.2% 0.192 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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #334AC5 7.17:1 AAA Lc -89.2 Fine for body text
Black text on #334AC5 2.92:1 Fails Lc 19.8 Dividers and decoration only
#334AC5 text on white 7.17:1 AAA Lc 84.3 Fine for body text
#334AC5 text on black 2.92:1 Fails Lc -17.7 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.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFD

    oklch(93.7% 0.027 267.5)

  3. Step 200

    200

    #CBD8FC

    oklch(88.4% 0.052 269.6)

  4. Step 300

    300

    #A8BEFE

    oklch(80.8% 0.094 269.6)

  5. Step 400

    400

    #7B9AFD

    oklch(70.6% 0.149 269.2)

  6. Step 500

    500

    #5C7DFB

    oklch(63.1% 0.191 269.3)

  7. Step 600

    600

    #4562EA

    oklch(55.5% 0.207 269.3)

  8. Step 700

    700 (this color)

    #334AC5

    oklch(47.2% 0.192 269.3)

  9. Step 800

    800

    #2E43A5

    oklch(42.8% 0.159 269.3)

  10. Step 900

    900

    #283A82

    oklch(37.7% 0.123 269.2)

  11. Step 950

    950

    #17224C

    oklch(26.8% 0.079 269.4)

Export this scale for Tailwind in the Tailwind colors tool

#334AC5 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#005EC90.050
Deuteranopia (no green cones)#0051C30.031
Tritanopia (no blue cones)#006A800.153
Achromatopsia (no color)#5757570.193

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #334AC5

    #334AC5

    oklch(47.2% 0.192 269.3)

  • #715800

    #715800

    oklch(47.3% 0.097 89.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334AC5

    #334AC5

    oklch(47.2% 0.192 269.3)

  • #006290

    #006290

    oklch(47.2% 0.106 239)

  • #6E34B5

    #6E34B5

    oklch(47.3% 0.192 299.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #334AC5

    #334AC5

    oklch(47.2% 0.192 269.3)

  • #884900

    #884900

    oklch(47.2% 0.112 59.2)

  • #556300

    #556300

    oklch(47.1% 0.111 118.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334AC5

    #334AC5

    oklch(47.2% 0.192 269.3)

  • #AE0301

    #AE0301

    oklch(47.2% 0.193 29.3)

  • #006F2E

    #006F2E

    oklch(47.3% 0.133 149.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334AC5

    #334AC5

    oklch(47.2% 0.192 269.3)

  • #A70058

    #A70058

    oklch(47.2% 0.192 359.5)

  • #715800

    #715800

    oklch(47.3% 0.097 89.5)

  • #006B5C

    #006B5C

    oklch(47.2% 0.087 178.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #334AC5, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #334AC5 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.