#3A3F9C

Closest named color: Blueberry (#464196). oklch(42% 0.149 275.6), rgb(58, 63, 156).

Aa

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

About this color

#3A3F9C is a dark, vivid blue. In OKLCH its lightness is 42%, its chroma 0.149 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.022 away. White text reads best on it, at 8.85:1.

Hue familyBlues
Lightnessdark (42%)
Chromavivid (0.149)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.37:1
White text8.85:1

Values

HEX#3A3F9C
RGBrgb(58, 63, 156)
HSLhsl(237, 46%, 42%)
OKLCHoklch(42% 0.149 275.6)

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 #3A3F9C 8.85:1 AAA Lc -94.4 Preferred for body text
Black text on #3A3F9C 2.37:1 Fails Lc 14.1 Not readable
#3A3F9C text on white 8.85:1 AAA Lc 89.9 Fine for body text
#3A3F9C text on black 2.37:1 Fails Lc -12.4 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D0D7FA

    oklch(88.5% 0.049 276.4)

  4. Step 300

    300

    #B0BCF9

    oklch(80.8% 0.087 275.7)

  5. Step 400

    400

    #8998F6

    oklch(70.8% 0.138 275.4)

  6. Step 500

    500

    #6E7BF3

    oklch(63.2% 0.178 275.4)

  7. Step 600

    600

    #5860E1

    oklch(55.6% 0.193 275.5)

  8. Step 700

    700

    #494EC4

    oklch(49.1% 0.181 275.7)

  9. Step 800

    800 (this color)

    #3A3F9C

    oklch(42% 0.149 275.6)

  10. Step 900

    900

    #32387E

    oklch(37.7% 0.117 275.6)

  11. Step 950

    950

    #1D224A

    oklch(27.1% 0.074 275)

Export this scale for Tailwind in the Tailwind colors tool

#3A3F9C 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)#004E9F0.053
Deuteranopia (no green cones)#00469A0.047
Tritanopia (no blue cones)#0056670.127
Achromatopsia (no color)#4A4A4A0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A3F9C

    #3A3F9C

    oklch(42% 0.149 275.6)

  • #5C4C00

    #5C4C00

    oklch(42% 0.086 95.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A3F9C

    #3A3F9C

    oklch(42% 0.149 275.6)

  • #005183

    #005183

    oklch(42.1% 0.107 245.3)

  • #61308C

    #61308C

    oklch(42% 0.148 305.4)

Open the analogous palette in the generator

Split complementary

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

  • #3A3F9C

    #3A3F9C

    oklch(42% 0.149 275.6)

  • #6F4100

    #6F4100

    oklch(42.1% 0.094 66.1)

  • #3F5700

    #3F5700

    oklch(42.1% 0.107 125.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A3F9C

    #3A3F9C

    oklch(42% 0.149 275.6)

  • #8B2200

    #8B2200

    oklch(42.1% 0.145 35.7)

  • #005D34

    #005D34

    oklch(42% 0.103 155.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A3F9C

    #3A3F9C

    oklch(42% 0.149 275.6)

  • #8A1941

    #8A1941

    oklch(42.1% 0.149 5.9)

  • #5C4C00

    #5C4C00

    oklch(42% 0.086 95.1)

  • #005A53

    #005A53

    oklch(42.1% 0.074 185.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A3F9C 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.