#3842A6

Closest named color: Blueberry (#464196). oklch(43.3% 0.159 273.4), rgb(56, 66, 166).

Aa

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

About this color

#3842A6 is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.159 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.033 away. White text reads best on it, at 8.40:1.

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.159)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.49:1
White text8.40:1

Values

HEX#3842A6
RGBrgb(56, 66, 166)
HSLhsl(235, 50%, 44%)
OKLCHoklch(43.3% 0.159 273.4)

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 #3842A6 8.40:1 AAA Lc -93.1 Preferred for body text
Black text on #3842A6 2.49:1 Fails Lc 15.5 Dividers and decoration only
#3842A6 text on white 8.40:1 AAA Lc 88.5 Fine for body text
#3842A6 text on black 2.49:1 Fails Lc -13.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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CED8FC

    oklch(88.6% 0.051 273.1)

  4. Step 300

    300

    #ADBDFD

    oklch(80.9% 0.092 273.3)

  5. Step 400

    400

    #8398FD

    oklch(70.8% 0.149 273.2)

  6. Step 500

    500

    #677AFA

    oklch(63% 0.19 273.3)

  7. Step 600

    600

    #515FE9

    oklch(55.6% 0.206 273.2)

  8. Step 700

    700

    #434DCB

    oklch(49.1% 0.192 273.4)

  9. Step 800

    800 (this color)

    #3842A6

    oklch(43.3% 0.159 273.4)

  10. Step 900

    900

    #2E3882

    oklch(37.7% 0.124 273.1)

  11. Step 950

    950

    #1B214C

    oklch(26.9% 0.079 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#3842A6 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)#0052A90.050
Deuteranopia (no green cones)#0049A40.042
Tritanopia (no blue cones)#005B6D0.133
Achromatopsia (no color)#4D4D4D0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #3842A6

    #3842A6

    oklch(43.3% 0.159 273.4)

  • #614F00

    #614F00

    oklch(43.3% 0.089 93.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3842A6

    #3842A6

    oklch(43.3% 0.159 273.4)

  • #005585

    #005585

    oklch(43.2% 0.105 243.3)

  • #643196

    #643196

    oklch(43.3% 0.159 303.6)

Open the analogous palette in the generator

Split complementary

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

  • #3842A6

    #3842A6

    oklch(43.3% 0.159 273.4)

  • #754200

    #754200

    oklch(43.2% 0.098 63.2)

  • #455900

    #455900

    oklch(43.1% 0.106 123.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3842A6

    #3842A6

    oklch(43.3% 0.159 273.4)

  • #941C00

    #941C00

    oklch(43.3% 0.159 33.3)

  • #006132

    #006132

    oklch(43.2% 0.11 153.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3842A6

    #3842A6

    oklch(43.3% 0.159 273.4)

  • #911547

    #911547

    oklch(43.3% 0.16 3.7)

  • #614F00

    #614F00

    oklch(43.3% 0.089 93.7)

  • #005E55

    #005E55

    oklch(43.3% 0.077 183.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #3842A6.

Similar named colors

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

Use #3842A6 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.