#38468C

Closest named color: Cobalt (#1E488F). oklch(42.1% 0.117 272), rgb(56, 70, 140).

Aa

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

About this color

#38468C is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.117 and its hue 272°. 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.66:1.

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

Values

HEX#38468C
RGBrgb(56, 70, 140)
HSLhsl(230, 43%, 38%)
OKLCHoklch(42.1% 0.117 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 #38468C 8.66:1 AAA Lc -94.0 Preferred for body text
Black text on #38468C 2.42:1 Fails Lc 14.5 Not readable
#38468C text on white 8.66:1 AAA Lc 89.5 Fine for body text
#38468C text on black 2.42:1 Fails Lc -12.7 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

    #B1BFEE

    oklch(81% 0.068 271.9)

  5. Step 400

    400

    #899CE5

    oklch(70.7% 0.109 272.2)

  6. Step 500

    500

    #6D82DD

    oklch(63.2% 0.139 272.1)

  7. Step 600

    600

    #5669CB

    oklch(55.6% 0.152 272.3)

  8. Step 700

    700

    #4657AF

    oklch(49% 0.141 272)

  9. Step 800

    800 (this color)

    #38468C

    oklch(42.1% 0.117 272)

  10. Step 900

    900

    #313D71

    oklch(37.7% 0.09 271.7)

  11. Step 950

    950

    #1D2442

    oklch(27% 0.057 272.2)

Export this scale for Tailwind in the Tailwind colors tool

#38468C 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)#234F8F0.031
Deuteranopia (no green cones)#15488B0.034
Tritanopia (no blue cones)#0056620.103
Achromatopsia (no color)#4B4B4B0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #38468C

    #38468C

    oklch(42.1% 0.117 272)

  • #5E4B00

    #5E4B00

    oklch(42% 0.086 92.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38468C

    #38468C

    oklch(42.1% 0.117 272)

  • #00527E

    #00527E

    oklch(42% 0.099 241.8)

  • #5A3A81

    #5A3A81

    oklch(42% 0.117 302.5)

Open the analogous palette in the generator

Split complementary

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

  • #38468C

    #38468C

    oklch(42.1% 0.117 272)

  • #723F00

    #723F00

    oklch(42.1% 0.097 62)

  • #445500

    #445500

    oklch(42% 0.102 122)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38468C

    #38468C

    oklch(42.1% 0.117 272)

  • #812F21

    #812F21

    oklch(42.2% 0.117 31.9)

  • #005E2D

    #005E2D

    oklch(42.2% 0.111 152)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38468C

    #38468C

    oklch(42.1% 0.117 272)

  • #7E2C48

    #7E2C48

    oklch(42.1% 0.116 2.3)

  • #5E4B00

    #5E4B00

    oklch(42% 0.086 92.1)

  • #005A50

    #005A50

    oklch(42% 0.075 182)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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