#2A47A8

Closest named color: Sapphire (#2138AB). oklch(43.7% 0.16 266.9), rgb(42, 71, 168).

Aa

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

About this color

#2A47A8 is a dark, vivid blue. In OKLCH its lightness is 44%, its chroma 0.160 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.039 away. White text reads best on it, at 8.18:1.

Hue familyBlues
Lightnessdark (44%)
Chromavivid (0.160)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text2.56:1
White text8.18:1

Values

HEX#2A47A8
RGBrgb(42, 71, 168)
HSLhsl(226, 60%, 41%)
OKLCHoklch(43.7% 0.16 266.9)

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 #2A47A8 8.18:1 AAA Lc -92.5 Preferred for body text
Black text on #2A47A8 2.56:1 Fails Lc 16.2 Dividers and decoration only
#2A47A8 text on white 8.18:1 AAA Lc 87.8 Fine for body text
#2A47A8 text on black 2.56:1 Fails Lc -14.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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFD

    oklch(93.7% 0.027 267.5)

  3. Step 200

    200

    #CAD9FC

    oklch(88.5% 0.051 267)

  4. Step 300

    300

    #A5BFFE

    oklch(80.8% 0.094 267)

  5. Step 400

    400

    #769CFD

    oklch(70.8% 0.148 266.5)

  6. Step 500

    500

    #557FFB

    oklch(63.1% 0.19 266.8)

  7. Step 600

    600

    #3D64EA

    oklch(55.5% 0.207 267)

  8. Step 700

    700

    #3052CC

    oklch(49.1% 0.193 266.9)

  9. Step 800

    800 (this color)

    #2A47A8

    oklch(43.7% 0.16 266.9)

  10. Step 900

    900

    #243B83

    oklch(37.8% 0.124 266.9)

  11. Step 950

    950

    #15234C

    oklch(27% 0.078 266.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A47A8 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)#0055AB0.038
Deuteranopia (no green cones)#0049A60.025
Tritanopia (no blue cones)#005F700.127
Achromatopsia (no color)#4F4F4F0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A47A8

    #2A47A8

    oklch(43.7% 0.16 266.9)

  • #674D00

    #674D00

    oklch(43.6% 0.089 86.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A47A8

    #2A47A8

    oklch(43.7% 0.16 266.9)

  • #00587F

    #00587F

    oklch(43.6% 0.095 237.1)

  • #5D369D

    #5D369D

    oklch(43.7% 0.159 296.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A47A8

    #2A47A8

    oklch(43.7% 0.16 266.9)

  • #7C3F00

    #7C3F00

    oklch(43.6% 0.106 56.5)

  • #4E5800

    #4E5800

    oklch(43.6% 0.101 117.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A47A8

    #2A47A8

    oklch(43.7% 0.16 266.9)

  • #96191A

    #96191A

    oklch(43.6% 0.16 26.7)

  • #006420

    #006420

    oklch(43.8% 0.131 146.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A47A8

    #2A47A8

    oklch(43.7% 0.16 266.9)

  • #8F1953

    #8F1953

    oklch(43.6% 0.159 356.8)

  • #674D00

    #674D00

    oklch(43.6% 0.089 86.2)

  • #006051

    #006051

    oklch(43.7% 0.081 177.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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