#38508D

Closest named color: Dusk Blue (#26538D). oklch(44.3% 0.105 266.1), rgb(56, 80, 141).

Aa

White text reads best on this color (7.77:1).

About this color

#38508D is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.105 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.019 away. White text reads best on it, at 7.77:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.105)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.70:1
White text7.77:1

Values

HEX#38508D
RGBrgb(56, 80, 141)
HSLhsl(223, 43%, 39%)
OKLCHoklch(44.3% 0.105 266.1)

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 #38508D 7.77:1 AAA Lc -91.6 Preferred for body text
Black text on #38508D 2.70:1 Fails Lc 17.2 Dividers and decoration only
#38508D text on white 7.77:1 AAA Lc 86.8 Fine for body text
#38508D text on black 2.70:1 Fails Lc -15.3 Dividers and decoration only

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

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CFD9F0

    oklch(88.5% 0.033 266.9)

  4. Step 300

    300

    #AEC0E9

    oklch(80.8% 0.061 266.4)

  5. Step 400

    400

    #849FDE

    oklch(70.7% 0.098 266.1)

  6. Step 500

    500

    #6686D5

    oklch(63.1% 0.125 266.2)

  7. Step 600

    600

    #4E6EC2

    oklch(55.5% 0.136 266.4)

  8. Step 700

    700

    #3F5CA8

    oklch(49.2% 0.126 266.2)

  9. Step 800

    800 (this color)

    #38508D

    oklch(44.3% 0.105 266.1)

  10. Step 900

    900

    #2D3F6D

    oklch(37.6% 0.082 266.4)

  11. Step 950

    950

    #1A2540

    oklch(26.9% 0.053 266.2)

Export this scale for Tailwind in the Tailwind colors tool

#38508D 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)#35568F0.017
Deuteranopia (no green cones)#2A4F8C0.016
Tritanopia (no blue cones)#005E670.093
Achromatopsia (no color)#5252520.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #38508D

    #38508D

    oklch(44.3% 0.105 266.1)

  • #6A4F00

    #6A4F00

    oklch(44.4% 0.091 85.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38508D

    #38508D

    oklch(44.3% 0.105 266.1)

  • #005A81

    #005A81

    oklch(44.3% 0.096 236.5)

  • #594586

    #594586

    oklch(44.2% 0.105 296)

Open the analogous palette in the generator

Split complementary

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

  • #38508D

    #38508D

    oklch(44.3% 0.105 266.1)

  • #7E4107

    #7E4107

    oklch(44.3% 0.105 55.8)

  • #515A00

    #515A00

    oklch(44.4% 0.102 116.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38508D

    #38508D

    oklch(44.3% 0.105 266.1)

  • #843934

    #843934

    oklch(44.5% 0.105 26)

  • #25622D

    #25622D

    oklch(44.3% 0.105 146)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38508D

    #38508D

    oklch(44.3% 0.105 266.1)

  • #7F3755

    #7F3755

    oklch(44.3% 0.105 356.1)

  • #6A4F00

    #6A4F00

    oklch(44.4% 0.091 85.8)

  • #006252

    #006252

    oklch(44.3% 0.083 176.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38508D 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.