#398AD4

Closest named color: Water Blue (#0E87CC). oklch(61.9% 0.137 249.3), rgb(57, 138, 212).

Aa

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

About this color

#398AD4 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 62%, its chroma 0.137 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.026 away. Black text reads best on it, at 5.76:1.

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

Values

HEX#398AD4
RGBrgb(57, 138, 212)
HSLhsl(209, 64%, 53%)
OKLCHoklch(61.9% 0.137 249.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 #398AD4 3.64:1 AA large text Lc -69.2 Content text, not long reading
Black text on #398AD4 5.76:1 AA Lc 40.4 Non-text elements, placeholder text
#398AD4 text on white 3.64:1 AA large text Lc 63.7 Content text, not long reading
#398AD4 text on black 5.76:1 AA Lc -38.0 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

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C7DCF1

    oklch(88.5% 0.037 248.2)

  4. Step 300

    300

    #A0C5EB

    oklch(81% 0.067 249.3)

  5. Step 400

    400

    #6AA6E1

    oklch(70.8% 0.107 249.2)

  6. Step 500

    500 (this color)

    #398AD4

    oklch(61.9% 0.137 249.3)

  7. Step 600

    600

    #1076C6

    oklch(55.5% 0.15 249.6)

  8. Step 700

    700

    #0063AA

    oklch(49.1% 0.137 249.4)

  9. Step 800

    800

    #07518A

    oklch(42.6% 0.114 249.3)

  10. Step 900

    900

    #13446F

    oklch(37.8% 0.09 249.2)

  11. Step 950

    950

    #0D2841

    oklch(27% 0.057 249.3)

Export this scale for Tailwind in the Tailwind colors tool

#398AD4 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)#688ED70.047
Deuteranopia (no green cones)#527FD30.033
Tritanopia (no blue cones)#009CA50.102
Achromatopsia (no color)#8686860.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #398AD4

    #398AD4

    oklch(61.9% 0.137 249.3)

  • #B97400

    #B97400

    oklch(61.8% 0.135 69)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #398AD4

    #398AD4

    oklch(61.9% 0.137 249.3)

  • #0095B4

    #0095B4

    oklch(61.9% 0.112 219.5)

  • #767BD6

    #767BD6

    oklch(62% 0.136 279.3)

Open the analogous palette in the generator

Split complementary

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

  • #398AD4

    #398AD4

    oklch(61.9% 0.137 249.3)

  • #C96542

    #C96542

    oklch(61.9% 0.137 39.6)

  • #998600

    #998600

    oklch(61.8% 0.128 99.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #398AD4

    #398AD4

    oklch(61.9% 0.137 249.3)

  • #C95E74

    #C95E74

    oklch(61.8% 0.137 9.1)

  • #6B9531

    #6B9531

    oklch(61.8% 0.137 129.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #398AD4

    #398AD4

    oklch(61.9% 0.137 249.3)

  • #BA62A0

    #BA62A0

    oklch(61.9% 0.136 339.5)

  • #B97400

    #B97400

    oklch(61.8% 0.135 69)

  • #159E67

    #159E67

    oklch(61.9% 0.137 159.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #398AD4 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.