#334DA0

Closest named color: Blueberry (#464196). oklch(44.7% 0.138 267.5), rgb(51, 77, 160).

Aa

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

About this color

#334DA0 is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.138 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.039 away. White text reads best on it, at 7.74:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.138)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.70:1
White text7.74:1

Values

HEX#334DA0
RGBrgb(51, 77, 160)
HSLhsl(226, 52%, 41%)
OKLCHoklch(44.7% 0.138 267.5)

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 #334DA0 7.74:1 AAA Lc -91.4 Preferred for body text
Black text on #334DA0 2.70:1 Fails Lc 17.4 Dividers and decoration only
#334DA0 text on white 7.74:1 AAA Lc 86.6 Fine for body text
#334DA0 text on black 2.70:1 Fails Lc -15.5 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 800.

  1. Step 50

    50

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAFA

    oklch(93.6% 0.023 266.9)

  3. Step 200

    200

    #CCD9F8

    oklch(88.5% 0.045 267.4)

  4. Step 300

    300

    #AAC0F6

    oklch(81% 0.08 267.4)

  5. Step 400

    400

    #7D9DF1

    oklch(70.7% 0.129 267.3)

  6. Step 500

    500

    #5E82EC

    oklch(63.2% 0.164 267.5)

  7. Step 600

    600

    #4568DB

    oklch(55.5% 0.18 267.5)

  8. Step 700

    700

    #3856BE

    oklch(49.1% 0.167 267.7)

  9. Step 800

    800 (this color)

    #334DA0

    oklch(44.7% 0.138 267.5)

  10. Step 900

    900

    #283D7A

    oklch(37.8% 0.107 266.9)

  11. Step 950

    950

    #182447

    oklch(27% 0.067 267.5)

Export this scale for Tailwind in the Tailwind colors tool

#334DA0 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)#1B58A30.032
Deuteranopia (no green cones)#004E9E0.034
Tritanopia (no blue cones)#00616F0.114
Achromatopsia (no color)#5353530.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #334DA0

    #334DA0

    oklch(44.7% 0.138 267.5)

  • #6A5000

    #6A5000

    oklch(44.6% 0.091 86.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334DA0

    #334DA0

    oklch(44.7% 0.138 267.5)

  • #005B84

    #005B84

    oklch(44.7% 0.099 237.6)

  • #5F3F96

    #5F3F96

    oklch(44.8% 0.138 297.5)

Open the analogous palette in the generator

Split complementary

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

  • #334DA0

    #334DA0

    oklch(44.7% 0.138 267.5)

  • #804200

    #804200

    oklch(44.8% 0.108 57.2)

  • #505B00

    #505B00

    oklch(44.6% 0.103 117.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334DA0

    #334DA0

    oklch(44.7% 0.138 267.5)

  • #922C26

    #922C26

    oklch(44.8% 0.138 27.5)

  • #006724

    #006724

    oklch(44.8% 0.131 147.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334DA0

    #334DA0

    oklch(44.7% 0.138 267.5)

  • #8C2A55

    #8C2A55

    oklch(44.7% 0.138 357.3)

  • #6A5000

    #6A5000

    oklch(44.6% 0.091 86.9)

  • #006354

    #006354

    oklch(44.7% 0.083 177.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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