#38488E

Closest named color: Cobalt (#1E488F). oklch(42.6% 0.117 271), rgb(56, 72, 142).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.117)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.48:1
White text8.44:1

Values

HEX#38488E
RGBrgb(56, 72, 142)
HSLhsl(229, 43%, 39%)
OKLCHoklch(42.6% 0.117 271)

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 #38488E 8.44:1 AAA Lc -93.5 Preferred for body text
Black text on #38488E 2.48:1 Fails Lc 15.1 Dividers and decoration only
#38488E text on white 8.44:1 AAA Lc 88.9 Fine for body text
#38488E text on black 2.48:1 Fails Lc -13.3 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

    #E5E9F8

    oklch(93.5% 0.021 274)

  3. Step 200

    200

    #D0D8F3

    oklch(88.5% 0.038 272.5)

  4. Step 300

    300

    #B0BFEE

    oklch(80.9% 0.069 271)

  5. Step 400

    400

    #879CE5

    oklch(70.6% 0.11 271.1)

  6. Step 500

    500

    #6B82DD

    oklch(63% 0.139 271.2)

  7. Step 600

    600

    #546ACB

    oklch(55.6% 0.151 271.1)

  8. Step 700

    700

    #4458B0

    oklch(49.2% 0.141 270.8)

  9. Step 800

    800 (this color)

    #38488E

    oklch(42.6% 0.117 271)

  10. Step 900

    900

    #303D72

    oklch(37.7% 0.092 271.1)

  11. Step 950

    950

    #1C2442

    oklch(26.9% 0.057 270.9)

Export this scale for Tailwind in the Tailwind colors tool

#38488E 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)#2551910.029
Deuteranopia (no green cones)#17498D0.033
Tritanopia (no blue cones)#0058640.103
Achromatopsia (no color)#4D4D4D0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #38488E

    #38488E

    oklch(42.6% 0.117 271)

  • #614C00

    #614C00

    oklch(42.6% 0.087 90.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38488E

    #38488E

    oklch(42.6% 0.117 271)

  • #005480

    #005480

    oklch(42.6% 0.1 241.3)

  • #5A3C84

    #5A3C84

    oklch(42.6% 0.118 300.8)

Open the analogous palette in the generator

Split complementary

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

  • #38488E

    #38488E

    oklch(42.6% 0.117 271)

  • #754000

    #754000

    oklch(42.8% 0.099 61.2)

  • #475700

    #475700

    oklch(42.8% 0.103 121.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38488E

    #38488E

    oklch(42.6% 0.117 271)

  • #833024

    #833024

    oklch(42.7% 0.117 30.7)

  • #00602B

    #00602B

    oklch(42.8% 0.116 150.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38488E

    #38488E

    oklch(42.6% 0.117 271)

  • #7F2D4B

    #7F2D4B

    oklch(42.5% 0.117 0.7)

  • #614C00

    #614C00

    oklch(42.6% 0.087 90.4)

  • #005C51

    #005C51

    oklch(42.6% 0.077 181.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38488E 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.