#38477F

Closest named color: Cobalt (#1E488F). oklch(41.4% 0.095 270.5), rgb(56, 71, 127).

Aa

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

About this color

#38477F is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.095 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.037 away. White text reads best on it, at 8.83:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.095)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.37:1
White text8.83:1

Values

HEX#38477F
RGBrgb(56, 71, 127)
HSLhsl(227, 39%, 36%)
OKLCHoklch(41.4% 0.095 270.5)

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 #38477F 8.83:1 AAA Lc -94.5 Preferred for body text
Black text on #38477F 2.37:1 Fails Lc 13.9 Not readable
#38477F text on white 8.83:1 AAA Lc 90.1 Preferred for body text
#38477F text on black 2.37:1 Fails Lc -12.2 Not readable

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

    #E6EAF5

    oklch(93.7% 0.015 270)

  3. Step 200

    200

    #D1D9EE

    oklch(88.6% 0.03 269.1)

  4. Step 300

    300

    #B3BFE6

    oklch(80.8% 0.057 271.7)

  5. Step 400

    400

    #8B9ED9

    oklch(70.7% 0.089 270.3)

  6. Step 500

    500

    #6F85CF

    oklch(63.1% 0.115 270.3)

  7. Step 600

    600

    #586DBC

    oklch(55.6% 0.125 270.7)

  8. Step 700

    700

    #485BA2

    oklch(49.1% 0.116 270.4)

  9. Step 800

    800 (this color)

    #38477F

    oklch(41.4% 0.095 270.5)

  10. Step 900

    900

    #333F69

    oklch(37.8% 0.074 270.5)

  11. Step 950

    950

    #1E253E

    oklch(27.1% 0.048 271.1)

Export this scale for Tailwind in the Tailwind colors tool

#38477F 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)#2F4D810.019
Deuteranopia (no green cones)#27477E0.021
Tritanopia (no blue cones)#14535D0.084
Achromatopsia (no color)#4A4A4A0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #38477F

    #38477F

    oklch(41.4% 0.095 270.5)

  • #5D4900

    #5D4900

    oklch(41.5% 0.085 90.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38477F

    #38477F

    oklch(41.4% 0.095 270.5)

  • #00517A

    #00517A

    oklch(41.5% 0.095 240.3)

  • #543E77

    #543E77

    oklch(41.5% 0.095 300.1)

Open the analogous palette in the generator

Split complementary

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

  • #38477F

    #38477F

    oklch(41.4% 0.095 270.5)

  • #703D02

    #703D02

    oklch(41.5% 0.095 60.7)

  • #455306

    #455306

    oklch(41.6% 0.096 120.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38477F

    #38477F

    oklch(41.4% 0.095 270.5)

  • #77342A

    #77342A

    oklch(41.4% 0.096 30.3)

  • #1A592E

    #1A592E

    oklch(41.2% 0.095 150.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38477F

    #38477F

    oklch(41.4% 0.095 270.5)

  • #743249

    #743249

    oklch(41.4% 0.096 0.3)

  • #5D4900

    #5D4900

    oklch(41.5% 0.085 90.7)

  • #00584D

    #00584D

    oklch(41.3% 0.075 180.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38477F 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.