#338DBA

Closest named color: Blue NCS (#118AB2). oklch(61% 0.108 234.5), rgb(51, 141, 186).

Aa

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

About this color

#338DBA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.108 and its hue 234°. Its hue sits on the cool side of the wheel. The nearest named color is Blue NCS (#118AB2), ΔE 0.022 away. Black text reads best on it, at 5.65:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameBlue NCS (#118AB2)
Black text5.65:1
White text3.71:1

Values

HEX#338DBA
RGBrgb(51, 141, 186)
HSLhsl(200, 57%, 46%)
OKLCHoklch(61% 0.108 234.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 #338DBA 3.71:1 AA large text Lc -69.9 Content text, not long reading
Black text on #338DBA 5.65:1 AA Lc 39.7 Non-text elements, placeholder text
#338DBA text on white 3.71:1 AA large text Lc 64.4 Content text, not long reading
#338DBA text on black 5.65:1 AA Lc -37.3 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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C7DDEA

    oklch(88.5% 0.03 233.6)

  4. Step 300

    300

    #A0C7DE

    oklch(80.9% 0.053 234.2)

  5. Step 400

    400

    #6AA9CE

    oklch(70.6% 0.085 235.5)

  6. Step 500

    500 (this color)

    #338DBA

    oklch(61% 0.108 234.5)

  7. Step 600

    600

    #007DAD

    oklch(55.6% 0.117 234.3)

  8. Step 700

    700

    #006992

    oklch(49.1% 0.103 234.3)

  9. Step 800

    800

    #005679

    oklch(42.8% 0.09 234.7)

  10. Step 900

    900

    #114761

    oklch(37.7% 0.07 234.5)

  11. Step 950

    950

    #0D2A39

    oklch(27.1% 0.044 234.3)

Export this scale for Tailwind in the Tailwind colors tool

#338DBA 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)#778CBC0.067
Deuteranopia (no green cones)#657FB90.056
Tritanopia (no blue cones)#00999C0.069
Achromatopsia (no color)#8585850.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #338DBA

    #338DBA

    oklch(61% 0.108 234.5)

  • #B57040

    #B57040

    oklch(61% 0.108 54)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338DBA

    #338DBA

    oklch(61% 0.108 234.5)

  • #0095A0

    #0095A0

    oklch(61.1% 0.104 204)

  • #6381C4

    #6381C4

    oklch(60.9% 0.108 265)

Open the analogous palette in the generator

Split complementary

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

  • #338DBA

    #338DBA

    oklch(61% 0.108 234.5)

  • #BB6863

    #BB6863

    oklch(61% 0.107 24.3)

  • #A17D2A

    #A17D2A

    oklch(60.9% 0.108 84.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338DBA

    #338DBA

    oklch(61% 0.108 234.5)

  • #B56787

    #B56787

    oklch(61.1% 0.107 354.7)

  • #828A37

    #828A37

    oklch(60.9% 0.107 114.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338DBA

    #338DBA

    oklch(61% 0.108 234.5)

  • #A36CA7

    #A36CA7

    oklch(61% 0.107 324.4)

  • #B57040

    #B57040

    oklch(61% 0.108 54)

  • #589459

    #589459

    oklch(61% 0.108 144.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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