#3A488B

Closest named color: Cobalt (#1E488F). oklch(42.6% 0.112 272), rgb(58, 72, 139).

Aa

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

About this color

#3A488B is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.112 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.031 away. White text reads best on it, at 8.46:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.47:1
White text8.46:1

Values

HEX#3A488B
RGBrgb(58, 72, 139)
HSLhsl(230, 41%, 39%)
OKLCHoklch(42.6% 0.112 272)

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 #3A488B 8.46:1 AAA Lc -93.5 Preferred for body text
Black text on #3A488B 2.47:1 Fails Lc 15.0 Dividers and decoration only
#3A488B text on white 8.46:1 AAA Lc 89.0 Fine for body text
#3A488B text on black 2.47:1 Fails Lc -13.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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F7

    oklch(93.5% 0.019 273.2)

  3. Step 200

    200

    #D0D8F2

    oklch(88.4% 0.037 272)

  4. Step 300

    300

    #B1BFEC

    oklch(80.9% 0.066 271.4)

  5. Step 400

    400

    #8A9CE2

    oklch(70.6% 0.105 272.4)

  6. Step 500

    500

    #6E82DA

    oklch(63.1% 0.134 272.4)

  7. Step 600

    600

    #576AC7

    oklch(55.6% 0.145 272.2)

  8. Step 700

    700

    #4758AC

    oklch(49.1% 0.135 272)

  9. Step 800

    800 (this color)

    #3A488B

    oklch(42.6% 0.112 272)

  10. Step 900

    900

    #323D6F

    oklch(37.7% 0.087 272.3)

  11. Step 950

    950

    #1D2441

    oklch(26.9% 0.055 272)

Export this scale for Tailwind in the Tailwind colors tool

#3A488B 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)#29518D0.029
Deuteranopia (no green cones)#1D4A8A0.031
Tritanopia (no blue cones)#0757630.099
Achromatopsia (no color)#4D4D4D0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A488B

    #3A488B

    oklch(42.6% 0.112 272)

  • #604C00

    #604C00

    oklch(42.5% 0.087 91.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A488B

    #3A488B

    oklch(42.6% 0.112 272)

  • #005481

    #005481

    oklch(42.7% 0.101 241.9)

  • #5A3D81

    #5A3D81

    oklch(42.6% 0.112 301.5)

Open the analogous palette in the generator

Split complementary

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

  • #3A488B

    #3A488B

    oklch(42.6% 0.112 272)

  • #744000

    #744000

    oklch(42.6% 0.098 61.8)

  • #455700

    #455700

    oklch(42.6% 0.104 122.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A488B

    #3A488B

    oklch(42.6% 0.112 272)

  • #803224

    #803224

    oklch(42.5% 0.111 32.2)

  • #015F2E

    #015F2E

    oklch(42.5% 0.111 152.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A488B

    #3A488B

    oklch(42.6% 0.112 272)

  • #7E2F4A

    #7E2F4A

    oklch(42.6% 0.113 1.8)

  • #604C00

    #604C00

    oklch(42.5% 0.087 91.4)

  • #005C52

    #005C52

    oklch(42.6% 0.076 182.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A488B 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.