#3852AF

Closest named color: Denim Blue (#3B5B92). oklch(47.2% 0.151 268.3), rgb(56, 82, 175).

Aa

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

About this color

#3852AF is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.151 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.057 away. White text reads best on it, at 7.01:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromavivid (0.151)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text2.99:1
White text7.01:1

Values

HEX#3852AF
RGBrgb(56, 82, 175)
HSLhsl(227, 52%, 45%)
OKLCHoklch(47.2% 0.151 268.3)

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 #3852AF 7.01:1 AAA Lc -88.9 Fine for body text
Black text on #3852AF 2.99:1 Fails Lc 20.1 Dividers and decoration only
#3852AF text on white 7.01:1 AAA Lc 83.9 Fine for body text
#3852AF text on black 2.99:1 Fails Lc -18.0 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 700.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CED9F5

    oklch(88.6% 0.04 268.5)

  4. Step 300

    300

    #ACC0F1

    oklch(81% 0.073 267.4)

  5. Step 400

    400

    #829DEA

    oklch(70.7% 0.117 268.6)

  6. Step 500

    500

    #6383E3

    oklch(63.1% 0.149 268.1)

  7. Step 600

    600

    #4B6AD1

    oklch(55.5% 0.162 268.2)

  8. Step 700

    700 (this color)

    #3852AF

    oklch(47.2% 0.151 268.3)

  9. Step 800

    800

    #324893

    oklch(42.6% 0.126 268.3)

  10. Step 900

    900

    #2C3D75

    oklch(37.7% 0.098 268.7)

  11. Step 950

    950

    #1A2444

    oklch(26.9% 0.061 268.9)

Export this scale for Tailwind in the Tailwind colors tool

#3852AF 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)#145FB20.039
Deuteranopia (no green cones)#0054AD0.036
Tritanopia (no blue cones)#0068780.125
Achromatopsia (no color)#5959590.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #3852AF

    #3852AF

    oklch(47.2% 0.151 268.3)

  • #725700

    #725700

    oklch(47.2% 0.096 87.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3852AF

    #3852AF

    oklch(47.2% 0.151 268.3)

  • #00628F

    #00628F

    oklch(47.1% 0.105 238.4)

  • #6842A3

    #6842A3

    oklch(47.2% 0.151 298.5)

Open the analogous palette in the generator

Split complementary

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

  • #3852AF

    #3852AF

    oklch(47.2% 0.151 268.3)

  • #884800

    #884800

    oklch(47.1% 0.112 58.4)

  • #566300

    #566300

    oklch(47.2% 0.11 118.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3852AF

    #3852AF

    oklch(47.2% 0.151 268.3)

  • #9F2D25

    #9F2D25

    oklch(47.2% 0.151 28.3)

  • #006F2A

    #006F2A

    oklch(47.3% 0.136 148.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3852AF

    #3852AF

    oklch(47.2% 0.151 268.3)

  • #992B5A

    #992B5A

    oklch(47.2% 0.151 358.6)

  • #725700

    #725700

    oklch(47.2% 0.096 87.7)

  • #006B5C

    #006B5C

    oklch(47.2% 0.087 178.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3852AF 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.