#2A6284

Closest named color: Denim (#3B638C). oklch(47.4% 0.08 238.4), rgb(42, 98, 132).

Aa

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

About this color

#2A6284 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.080 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.022 away. White text reads best on it, at 6.60:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.17:1
White text6.60:1

Values

HEX#2A6284
RGBrgb(42, 98, 132)
HSLhsl(203, 52%, 34%)
OKLCHoklch(47.4% 0.08 238.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 #2A6284 6.60:1 AA Lc -87.5 Fine for body text
Black text on #2A6284 3.17:1 AA large text Lc 21.6 Dividers and decoration only
#2A6284 text on white 6.60:1 AA Lc 82.5 Fine for body text
#2A6284 text on black 3.17:1 AA large text Lc -19.5 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF1

    oklch(93.6% 0.012 239.9)

  3. Step 200

    200

    #CDDCE6

    oklch(88.6% 0.021 236.8)

  4. Step 300

    300

    #AAC5D7

    oklch(80.9% 0.039 237.2)

  5. Step 400

    400

    #7CA7C3

    oklch(70.7% 0.062 237.3)

  6. Step 500

    500

    #5A90B4

    oklch(63% 0.079 239)

  7. Step 600

    600

    #3D7AA0

    oklch(55.5% 0.087 238.4)

  8. Step 700

    700 (this color)

    #2A6284

    oklch(47.4% 0.08 238.4)

  9. Step 800

    800

    #28546F

    oklch(42.7% 0.066 238)

  10. Step 900

    900

    #25455A

    oklch(37.6% 0.052 239)

  11. Step 950

    950

    #172935

    oklch(27.1% 0.033 238.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A6284 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)#5262860.045
Deuteranopia (no green cones)#4659830.037
Tritanopia (no blue cones)#006B6E0.056
Achromatopsia (no color)#5D5D5D0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6284

    #2A6284

    oklch(47.4% 0.08 238.4)

  • #7D502B

    #7D502B

    oklch(47.4% 0.08 58.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6284

    #2A6284

    oklch(47.4% 0.08 238.4)

  • #056874

    #056874

    oklch(47.4% 0.08 208.8)

  • #495A89

    #495A89

    oklch(47.5% 0.079 268.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A6284

    #2A6284

    oklch(47.4% 0.08 238.4)

  • #834A42

    #834A42

    oklch(47.5% 0.079 28.9)

  • #6F591F

    #6F591F

    oklch(47.4% 0.08 87.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6284

    #2A6284

    oklch(47.4% 0.08 238.4)

  • #80485B

    #80485B

    oklch(47.4% 0.08 358.8)

  • #58622A

    #58622A

    oklch(47.4% 0.08 118)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6284

    #2A6284

    oklch(47.4% 0.08 238.4)

  • #754B73

    #754B73

    oklch(47.5% 0.081 328.4)

  • #7D502B

    #7D502B

    oklch(47.4% 0.08 58.6)

  • #3A6842

    #3A6842

    oklch(47.3% 0.079 148.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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