#38548C

Closest named color: Dusk Blue (#26538D). oklch(45.2% 0.098 263), rgb(56, 84, 140).

Aa

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

About this color

#38548C is a medium-dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.098 and its hue 263°. 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.46:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.81:1
White text7.46:1

Values

HEX#38548C
RGBrgb(56, 84, 140)
HSLhsl(220, 43%, 38%)
OKLCHoklch(45.2% 0.098 263)

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 #38548C 7.46:1 AAA Lc -90.6 Preferred for body text
Black text on #38548C 2.81:1 Fails Lc 18.3 Dividers and decoration only
#38548C text on white 7.46:1 AAA Lc 85.8 Fine for body text
#38548C text on black 2.81:1 Fails Lc -16.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

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAEF

    oklch(88.6% 0.032 261.7)

  4. Step 300

    300

    #ADC1E7

    oklch(80.9% 0.058 263.2)

  5. Step 400

    400

    #82A0DA

    oklch(70.6% 0.092 263.1)

  6. Step 500

    500

    #6388D0

    oklch(63.1% 0.117 262.8)

  7. Step 600

    600

    #4A71BD

    oklch(55.7% 0.126 262.5)

  8. Step 700

    700

    #3C5EA3

    oklch(49.1% 0.118 263)

  9. Step 800

    800 (this color)

    #38548C

    oklch(45.2% 0.098 263)

  10. Step 900

    900

    #2B406A

    oklch(37.6% 0.077 263.1)

  11. Step 950

    950

    #1A263E

    oklch(27% 0.048 263.3)

Export this scale for Tailwind in the Tailwind colors tool

#38548C 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)#3C598E0.016
Deuteranopia (no green cones)#31518B0.013
Tritanopia (no blue cones)#0060690.086
Achromatopsia (no color)#5555550.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #38548C

    #38548C

    oklch(45.2% 0.098 263)

  • #6F5000

    #6F5000

    oklch(45.2% 0.093 82.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38548C

    #38548C

    oklch(45.2% 0.098 263)

  • #005E81

    #005E81

    oklch(45.3% 0.093 232.6)

  • #584A87

    #584A87

    oklch(45.2% 0.098 292.6)

Open the analogous palette in the generator

Split complementary

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

  • #38548C

    #38548C

    oklch(45.2% 0.098 263)

  • #7F4419

    #7F4419

    oklch(45.2% 0.098 52.9)

  • #575B06

    #575B06

    oklch(45.3% 0.098 112.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38548C

    #38548C

    oklch(45.2% 0.098 263)

  • #843D3B

    #843D3B

    oklch(45.2% 0.098 23.4)

  • #31632F

    #31632F

    oklch(45.1% 0.098 143)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38548C

    #38548C

    oklch(45.2% 0.098 263)

  • #7E3C5A

    #7E3C5A

    oklch(45.1% 0.098 353.2)

  • #6F5000

    #6F5000

    oklch(45.2% 0.093 82.7)

  • #006551

    #006551

    oklch(45.2% 0.087 172.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38548C 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.