#398EB3

Closest named color: Blue NCS (#118AB2). oklch(61.1% 0.098 230.2), rgb(57, 142, 179).

Aa

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

About this color

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

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

Values

HEX#398EB3
RGBrgb(57, 142, 179)
HSLhsl(198, 52%, 46%)
OKLCHoklch(61.1% 0.098 230.2)

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 #398EB3 3.68:1 AA large text Lc -69.7 Content text, not long reading
Black text on #398EB3 5.69:1 AA Lc 39.9 Non-text elements, placeholder text
#398EB3 text on white 3.68:1 AA large text Lc 64.2 Content text, not long reading
#398EB3 text on black 5.69:1 AA Lc -37.5 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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C8DDE8

    oklch(88.5% 0.027 230.4)

  4. Step 300

    300

    #A2C7DA

    oklch(80.9% 0.048 230.4)

  5. Step 400

    400

    #6DAAC8

    oklch(70.8% 0.077 230.6)

  6. Step 500

    500 (this color)

    #398EB3

    oklch(61.1% 0.098 230.2)

  7. Step 600

    600

    #127EA5

    oklch(55.6% 0.106 229.7)

  8. Step 700

    700

    #006A8D

    oklch(49.1% 0.098 229.8)

  9. Step 800

    800

    #095773

    oklch(42.8% 0.082 229.6)

  10. Step 900

    900

    #15485D

    oklch(37.8% 0.064 229.5)

  11. Step 950

    950

    #0E2A36

    oklch(27% 0.04 229.1)

Export this scale for Tailwind in the Tailwind colors tool

#398EB3 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)#7B8CB50.068
Deuteranopia (no green cones)#6A80B20.058
Tritanopia (no blue cones)#00989A0.059
Achromatopsia (no color)#8585850.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #398EB3

    #398EB3

    oklch(61.1% 0.098 230.2)

  • #B3714C

    #B3714C

    oklch(61.1% 0.098 49.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #398EB3

    #398EB3

    oklch(61.1% 0.098 230.2)

  • #1D959B

    #1D959B

    oklch(61.2% 0.098 200.2)

  • #6184BE

    #6184BE

    oklch(61.2% 0.097 260.2)

Open the analogous palette in the generator

Split complementary

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

  • #398EB3

    #398EB3

    oklch(61.1% 0.098 230.2)

  • #B76B6B

    #B76B6B

    oklch(61.2% 0.097 20.3)

  • #A27D38

    #A27D38

    oklch(61.2% 0.098 80.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #398EB3

    #398EB3

    oklch(61.1% 0.098 230.2)

  • #B06A8C

    #B06A8C

    oklch(61.1% 0.099 349.9)

  • #87893E

    #87893E

    oklch(61.2% 0.098 110.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #398EB3

    #398EB3

    oklch(61.1% 0.098 230.2)

  • #9E70A8

    #9E70A8

    oklch(61.2% 0.098 320.3)

  • #B3714C

    #B3714C

    oklch(61.1% 0.098 49.4)

  • #639259

    #639259

    oklch(61.1% 0.098 140.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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