#2A3F66

Closest named color: Dark Grey Blue (#29465B). oklch(37% 0.073 262), rgb(42, 63, 102).

Aa

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

About this color

#2A3F66 is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.073 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.033 away. White text reads best on it, at 10.49:1.

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.00:1
White text10.49:1

Values

HEX#2A3F66
RGBrgb(42, 63, 102)
HSLhsl(219, 42%, 28%)
OKLCHoklch(37% 0.073 262)

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 #2A3F66 10.49:1 AAA Lc -98.2 Preferred for body text
Black text on #2A3F66 2.00:1 Fails Lc 9.7 Not readable
#2A3F66 text on white 10.49:1 AAA Lc 94.2 Preferred for body text
#2A3F66 text on black 2.00:1 Fails Lc -8.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 900.

  1. Step 50

    50

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAEE

    oklch(88.5% 0.03 260.7)

  4. Step 300

    300

    #AEC1E5

    oklch(80.9% 0.055 263.2)

  5. Step 400

    400

    #83A1D7

    oklch(70.7% 0.086 261.9)

  6. Step 500

    500

    #6489CD

    oklch(63.2% 0.111 261.9)

  7. Step 600

    600

    #4B71BA

    oklch(55.5% 0.122 262.3)

  8. Step 700

    700

    #3C5FA0

    oklch(49.2% 0.112 261.8)

  9. Step 800

    800

    #324E82

    oklch(42.8% 0.093 261.8)

  10. Step 900

    900 (this color)

    #2A3F66

    oklch(37% 0.073 262)

  11. Step 950

    950

    #1A263D

    oklch(27% 0.046 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#2A3F66 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)#2F42680.012
Deuteranopia (no green cones)#283D650.007
Tritanopia (no blue cones)#05484D0.066
Achromatopsia (no color)#3F3F3F0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A3F66

    #2A3F66

    oklch(37% 0.073 262)

  • #533B06

    #533B06

    oklch(37% 0.073 81.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A3F66

    #2A3F66

    oklch(37% 0.073 262)

  • #06465F

    #06465F

    oklch(37% 0.072 231.5)

  • #413863

    #413863

    oklch(37.1% 0.073 292.1)

Open the analogous palette in the generator

Split complementary

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

  • #2A3F66

    #2A3F66

    oklch(37% 0.073 262)

  • #5D3318

    #5D3318

    oklch(36.9% 0.072 51.4)

  • #41430E

    #41430E

    oklch(37% 0.072 111.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A3F66

    #2A3F66

    oklch(37% 0.073 262)

  • #612F2E

    #612F2E

    oklch(37.1% 0.073 22.4)

  • #284924

    #284924

    oklch(37% 0.072 141.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A3F66

    #2A3F66

    oklch(37% 0.073 262)

  • #5C2E44

    #5C2E44

    oklch(36.9% 0.073 351.2)

  • #533B06

    #533B06

    oklch(37% 0.073 81.2)

  • #004C3B

    #004C3B

    oklch(37.1% 0.072 171.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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