#338ACA

Closest named color: Water Blue (#0E87CC). oklch(61.1% 0.127 244.6), rgb(51, 138, 202).

Aa

Black text reads best on this color (5.62:1).

About this color

#338ACA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.127 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.019 away. Black text reads best on it, at 5.62:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.62:1
White text3.73:1

Values

HEX#338ACA
RGBrgb(51, 138, 202)
HSLhsl(205, 60%, 50%)
OKLCHoklch(61.1% 0.127 244.6)

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 #338ACA 3.73:1 AA large text Lc -70.0 Content text, not long reading
Black text on #338ACA 5.62:1 AA Lc 39.6 Non-text elements, placeholder text
#338ACA text on white 3.73:1 AA large text Lc 64.5 Content text, not long reading
#338ACA text on black 5.62:1 AA Lc -37.1 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0EBF5

    oklch(93.5% 0.018 245.4)

  3. Step 200

    200

    #C7DCEF

    oklch(88.5% 0.035 245.5)

  4. Step 300

    300

    #9FC6E7

    oklch(81% 0.063 244.2)

  5. Step 400

    400

    #69A7DA

    oklch(70.7% 0.099 244.7)

  6. Step 500

    500 (this color)

    #338ACA

    oklch(61.1% 0.127 244.6)

  7. Step 600

    600

    #0379BE

    oklch(55.6% 0.138 244.8)

  8. Step 700

    700

    #0066A1

    oklch(49.2% 0.123 244.5)

  9. Step 800

    800

    #015385

    oklch(42.7% 0.107 244.9)

  10. Step 900

    900

    #11456A

    oklch(37.7% 0.083 244.6)

  11. Step 950

    950

    #0C293E

    oklch(27.1% 0.052 243.5)

Export this scale for Tailwind in the Tailwind colors tool

#338ACA 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)#6D8CCD0.056
Deuteranopia (no green cones)#577EC90.041
Tritanopia (no blue cones)#009AA10.091
Achromatopsia (no color)#8484840.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #338ACA

    #338ACA

    oklch(61.1% 0.127 244.6)

  • #B7711D

    #B7711D

    oklch(61.1% 0.127 64.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338ACA

    #338ACA

    oklch(61.1% 0.127 244.6)

  • #0093AB

    #0093AB

    oklch(61% 0.108 214.6)

  • #6D7CCF

    #6D7CCF

    oklch(61.1% 0.127 274.3)

Open the analogous palette in the generator

Split complementary

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

  • #338ACA

    #338ACA

    oklch(61.1% 0.127 244.6)

  • #C3644D

    #C3644D

    oklch(61% 0.127 34.7)

  • #9C8100

    #9C8100

    oklch(61.1% 0.125 94.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338ACA

    #338ACA

    oklch(61.1% 0.127 244.6)

  • #C1607A

    #C1607A

    oklch(61.2% 0.127 4.6)

  • #739030

    #739030

    oklch(61.1% 0.127 124.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338ACA

    #338ACA

    oklch(61.1% 0.127 244.6)

  • #B164A2

    #B164A2

    oklch(61.1% 0.127 334.6)

  • #B7711D

    #B7711D

    oklch(61.1% 0.127 64.7)

  • #359960

    #359960

    oklch(61% 0.127 154.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #338ACA 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.