#2A457E

Closest named color: Twilight Blue (#0A437A). oklch(40% 0.102 263.4), rgb(42, 69, 126).

Aa

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

About this color

#2A457E is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.102 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.028 away. White text reads best on it, at 9.32:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.25:1
White text9.32:1

Values

HEX#2A457E
RGBrgb(42, 69, 126)
HSLhsl(221, 50%, 33%)
OKLCHoklch(40% 0.102 263.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 #2A457E 9.32:1 AAA Lc -95.6 Preferred for body text
Black text on #2A457E 2.25:1 Fails Lc 12.6 Not readable
#2A457E text on white 9.32:1 AAA Lc 91.3 Preferred for body text
#2A457E text on black 2.25:1 Fails Lc -11.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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CBDAF6

    oklch(88.6% 0.042 263)

  4. Step 300

    300

    #A7C1F3

    oklch(80.9% 0.077 263.3)

  5. Step 400

    400

    #799FED

    oklch(70.7% 0.122 263.8)

  6. Step 500

    500

    #5785E7

    oklch(63.1% 0.156 263.6)

  7. Step 600

    600

    #3D6CD5

    oklch(55.5% 0.17 263.7)

  8. Step 700

    700

    #2F5AB9

    oklch(49.2% 0.158 263.4)

  9. Step 800

    800

    #274A95

    oklch(42.7% 0.13 263.2)

  10. Step 900

    900 (this color)

    #2A457E

    oklch(40% 0.102 263.4)

  11. Step 950

    950

    #152546

    oklch(27% 0.065 263.2)

Export this scale for Tailwind in the Tailwind colors tool

#2A457E 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)#2A4B800.018
Deuteranopia (no green cones)#1D437D0.015
Tritanopia (no blue cones)#00525B0.085
Achromatopsia (no color)#4747470.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A457E

    #2A457E

    oklch(40% 0.102 263.4)

  • #5D4300

    #5D4300

    oklch(40.1% 0.082 83.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A457E

    #2A457E

    oklch(40% 0.102 263.4)

  • #004E6D

    #004E6D

    oklch(39.9% 0.083 233.7)

  • #4B3B79

    #4B3B79

    oklch(40.1% 0.102 293.1)

Open the analogous palette in the generator

Split complementary

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

  • #2A457E

    #2A457E

    oklch(40% 0.102 263.4)

  • #703500

    #703500

    oklch(40% 0.101 53.4)

  • #484C00

    #484C00

    oklch(39.9% 0.089 113.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A457E

    #2A457E

    oklch(40% 0.102 263.4)

  • #752D2C

    #752D2C

    oklch(40% 0.102 23.6)

  • #1F551F

    #1F551F

    oklch(40% 0.102 143.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A457E

    #2A457E

    oklch(40% 0.102 263.4)

  • #702D4C

    #702D4C

    oklch(40.1% 0.102 353.7)

  • #5D4300

    #5D4300

    oklch(40.1% 0.082 83.4)

  • #005544

    #005544

    oklch(40.1% 0.077 173.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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