#2A2A6E

Closest named color: Marine (#042E60). oklch(32.9% 0.115 278), rgb(42, 42, 110).

Aa

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

About this color

#2A2A6E is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.115 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.049 away. White text reads best on it, at 12.69:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.115)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.65:1
White text12.69:1

Values

HEX#2A2A6E
RGBrgb(42, 42, 110)
HSLhsl(240, 45%, 30%)
OKLCHoklch(32.9% 0.115 278)

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 #2A2A6E 12.69:1 AAA Lc -101.8 Preferred for body text
Black text on #2A2A6E 1.65:1 Fails Lc 0.0 Not readable
#2A2A6E text on white 12.69:1 AAA Lc 98.4 Preferred for body text
#2A2A6E text on black 1.65:1 Fails Lc 0.0 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 900.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D1D7F9

    oklch(88.5% 0.047 277.5)

  4. Step 300

    300

    #B3BCF8

    oklch(80.9% 0.085 277.7)

  5. Step 400

    400

    #8D96F5

    oklch(70.6% 0.138 278.1)

  6. Step 500

    500

    #7379F1

    oklch(63% 0.177 277.9)

  7. Step 600

    600

    #5E5FE0

    oklch(55.7% 0.192 277.8)

  8. Step 700

    700

    #4E4DC2

    oklch(49.1% 0.178 278)

  9. Step 800

    800

    #40409D

    oklch(42.7% 0.147 278.2)

  10. Step 900

    900 (this color)

    #2A2A6E

    oklch(32.9% 0.115 278)

  11. Step 950

    950

    #1F2149

    oklch(27% 0.073 278.2)

Export this scale for Tailwind in the Tailwind colors tool

#2A2A6E 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)#0036700.046
Deuteranopia (no green cones)#00306D0.042
Tritanopia (no blue cones)#003A470.099
Achromatopsia (no color)#3333330.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A2A6E

    #2A2A6E

    oklch(32.9% 0.115 278)

  • #3E3500

    #3E3500

    oklch(32.9% 0.068 98.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A2A6E

    #2A2A6E

    oklch(32.9% 0.115 278)

  • #003760

    #003760

    oklch(32.9% 0.089 248.2)

  • #451F61

    #451F61

    oklch(32.8% 0.115 307.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A2A6E

    #2A2A6E

    oklch(32.9% 0.115 278)

  • #4D2D00

    #4D2D00

    oklch(33% 0.072 68.3)

  • #283D00

    #283D00

    oklch(33% 0.086 128.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A2A6E

    #2A2A6E

    oklch(32.9% 0.115 278)

  • #601900

    #601900

    oklch(32.9% 0.108 38)

  • #004025

    #004025

    oklch(32.7% 0.076 158)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A2A6E

    #2A2A6E

    oklch(32.9% 0.115 278)

  • #62102A

    #62102A

    oklch(33% 0.115 8)

  • #3E3500

    #3E3500

    oklch(32.9% 0.068 98.7)

  • #003E3A

    #003E3A

    oklch(32.8% 0.057 187.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A2A6E 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.