#398AB5

Closest named color: Blue NCS (#118AB2). oklch(60.2% 0.102 235.3), rgb(57, 138, 181).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest nameBlue NCS (#118AB2)
Black text5.47:1
White text3.83:1

Values

HEX#398AB5
RGBrgb(57, 138, 181)
HSLhsl(201, 52%, 47%)
OKLCHoklch(60.2% 0.102 235.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 #398AB5 3.83:1 AA large text Lc -71.1 Content text, not long reading
Black text on #398AB5 5.47:1 AA Lc 38.5 Non-text elements, placeholder text
#398AB5 text on white 3.83:1 AA large text Lc 65.6 Content text, not long reading
#398AB5 text on black 5.47:1 AA Lc -36.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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C8DDE9

    oklch(88.6% 0.028 232.7)

  4. Step 300

    300

    #A2C6DD

    oklch(80.8% 0.05 236.3)

  5. Step 400

    400

    #6EA9CB

    oklch(70.7% 0.079 234.8)

  6. Step 500

    500 (this color)

    #398AB5

    oklch(60.2% 0.102 235.3)

  7. Step 600

    600

    #1A7CAB

    oklch(55.5% 0.111 235.9)

  8. Step 700

    700

    #066992

    oklch(49.2% 0.102 234.7)

  9. Step 800

    800

    #0E5577

    oklch(42.6% 0.086 236)

  10. Step 900

    900

    #174760

    oklch(37.8% 0.066 235.3)

  11. Step 950

    950

    #0F2A38

    oklch(27.1% 0.042 233.9)

Export this scale for Tailwind in the Tailwind colors tool

#398AB5 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)#7589B70.062
Deuteranopia (no green cones)#647DB40.051
Tritanopia (no blue cones)#0095990.066
Achromatopsia (no color)#8282820.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #398AB5

    #398AB5

    oklch(60.2% 0.102 235.3)

  • #AF7042

    #AF7042

    oklch(60.3% 0.101 55.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #398AB5

    #398AB5

    oklch(60.2% 0.102 235.3)

  • #08929E

    #08929E

    oklch(60.3% 0.102 205.2)

  • #637FBE

    #637FBE

    oklch(60.2% 0.102 265.2)

Open the analogous palette in the generator

Split complementary

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

  • #398AB5

    #398AB5

    oklch(60.2% 0.102 235.3)

  • #B66861

    #B66861

    oklch(60.3% 0.101 25.9)

  • #9D7C2F

    #9D7C2F

    oklch(60.3% 0.102 85.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #398AB5

    #398AB5

    oklch(60.2% 0.102 235.3)

  • #B06684

    #B06684

    oklch(60.2% 0.102 354.8)

  • #7F883B

    #7F883B

    oklch(60.2% 0.102 115.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #398AB5

    #398AB5

    oklch(60.2% 0.102 235.3)

  • #A06BA2

    #A06BA2

    oklch(60.3% 0.102 325.5)

  • #AF7042

    #AF7042

    oklch(60.3% 0.101 55.6)

  • #57915A

    #57915A

    oklch(60.2% 0.102 145.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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