#3842A7

Closest named color: Blueberry (#464196). oklch(43.4% 0.161 273.3), rgb(56, 66, 167).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.161)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.50:1
White text8.38:1

Values

HEX#3842A7
RGBrgb(56, 66, 167)
HSLhsl(235, 50%, 44%)
OKLCHoklch(43.4% 0.161 273.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 #3842A7 8.38:1 AAA Lc -93.1 Preferred for body text
Black text on #3842A7 2.50:1 Fails Lc 15.5 Dividers and decoration only
#3842A7 text on white 8.38:1 AAA Lc 88.4 Fine for body text
#3842A7 text on black 2.50: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

    #CED8FD

    oklch(88.6% 0.052 273.4)

  4. Step 300

    300

    #ADBDFE

    oklch(81% 0.094 273.5)

  5. Step 400

    400

    #8398FD

    oklch(70.8% 0.149 273.2)

  6. Step 500

    500

    #677AFB

    oklch(63.1% 0.191 273.3)

  7. Step 600

    600

    #515FEA

    oklch(55.6% 0.208 273.2)

  8. Step 700

    700

    #434DCC

    oklch(49.2% 0.194 273.4)

  9. Step 800

    800 (this color)

    #3842A7

    oklch(43.4% 0.161 273.3)

  10. Step 900

    900

    #2E3883

    oklch(37.8% 0.125 273.1)

  11. Step 950

    950

    #1B214C

    oklch(26.9% 0.079 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#3842A7 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)#0053AA0.052
Deuteranopia (no green cones)#0049A50.042
Tritanopia (no blue cones)#005B6E0.132
Achromatopsia (no color)#4E4E4E0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #3842A7

    #3842A7

    oklch(43.4% 0.161 273.3)

  • #614F00

    #614F00

    oklch(43.3% 0.089 93.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3842A7

    #3842A7

    oklch(43.4% 0.161 273.3)

  • #005586

    #005586

    oklch(43.3% 0.106 243.8)

  • #643197

    #643197

    oklch(43.4% 0.16 303.2)

Open the analogous palette in the generator

Split complementary

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

  • #3842A7

    #3842A7

    oklch(43.4% 0.161 273.3)

  • #764300

    #764300

    oklch(43.5% 0.099 63.6)

  • #465A00

    #465A00

    oklch(43.5% 0.107 123.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3842A7

    #3842A7

    oklch(43.4% 0.161 273.3)

  • #941C00

    #941C00

    oklch(43.3% 0.159 33.3)

  • #006232

    #006232

    oklch(43.5% 0.111 153.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3842A7

    #3842A7

    oklch(43.4% 0.161 273.3)

  • #911448

    #911448

    oklch(43.3% 0.161 3)

  • #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 #3842A7, closest first.

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

Similar named colors

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

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