#3A4098

Closest named color: Blueberry (#464196). oklch(41.9% 0.142 275.5), rgb(58, 64, 152).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (42%)
Chromavivid (0.142)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.36:1
White text8.87:1

Values

HEX#3A4098
RGBrgb(58, 64, 152)
HSLhsl(236, 45%, 41%)
OKLCHoklch(41.9% 0.142 275.5)

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 #3A4098 8.87:1 AAA Lc -94.4 Preferred for body text
Black text on #3A4098 2.36:1 Fails Lc 14.0 Not readable
#3A4098 text on white 8.87:1 AAA Lc 90.0 Fine for body text
#3A4098 text on black 2.36:1 Fails Lc -12.3 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FA

    oklch(93.6% 0.023 275.4)

  3. Step 200

    200

    #D0D7F8

    oklch(88.4% 0.046 276)

  4. Step 300

    300

    #B1BDF7

    oklch(81% 0.083 275.3)

  5. Step 400

    400

    #8A98F2

    oklch(70.6% 0.132 275.8)

  6. Step 500

    500

    #6F7CEE

    oklch(63.1% 0.17 275.5)

  7. Step 600

    600

    #5962DC

    oklch(55.6% 0.184 275.5)

  8. Step 700

    700

    #4950BF

    oklch(49% 0.171 275.4)

  9. Step 800

    800 (this color)

    #3A4098

    oklch(41.9% 0.142 275.5)

  10. Step 900

    900

    #33397B

    oklch(37.7% 0.111 275.8)

  11. Step 950

    950

    #1D2248

    oklch(27% 0.07 275)

Export this scale for Tailwind in the Tailwind colors tool

#3A4098 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)#004E9B0.052
Deuteranopia (no green cones)#0046960.047
Tritanopia (no blue cones)#0055650.122
Achromatopsia (no color)#4A4A4A0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A4098

    #3A4098

    oklch(41.9% 0.142 275.5)

  • #5B4C00

    #5B4C00

    oklch(41.9% 0.086 96)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A4098

    #3A4098

    oklch(41.9% 0.142 275.5)

  • #005082

    #005082

    oklch(41.7% 0.106 245.6)

  • #603289

    #603289

    oklch(42% 0.141 305.5)

Open the analogous palette in the generator

Split complementary

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

  • #3A4098

    #3A4098

    oklch(41.9% 0.142 275.5)

  • #6F4000

    #6F4000

    oklch(41.9% 0.094 65)

  • #3F5600

    #3F5600

    oklch(41.9% 0.106 125.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A4098

    #3A4098

    oklch(41.9% 0.142 275.5)

  • #892304

    #892304

    oklch(41.9% 0.142 35.4)

  • #005D33

    #005D33

    oklch(42% 0.104 155.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A4098

    #3A4098

    oklch(41.9% 0.142 275.5)

  • #871D42

    #871D42

    oklch(41.9% 0.143 5.2)

  • #5B4C00

    #5B4C00

    oklch(41.9% 0.086 96)

  • #005952

    #005952

    oklch(41.7% 0.073 185.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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