#305287

Closest named color: Dusk Blue (#26538D). oklch(44% 0.096 259), rgb(48, 82, 135).

Aa

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

About this color

#305287 is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.096 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.013 away. White text reads best on it, at 7.82:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.68:1
White text7.82:1

Values

HEX#305287
RGBrgb(48, 82, 135)
HSLhsl(217, 48%, 36%)
OKLCHoklch(44% 0.096 259)

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 #305287 7.82:1 AAA Lc -91.7 Preferred for body text
Black text on #305287 2.68:1 Fails Lc 17.0 Dividers and decoration only
#305287 text on white 7.82:1 AAA Lc 87.0 Fine for body text
#305287 text on black 2.68:1 Fails Lc -15.1 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 800.

  1. Step 50

    50

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF5

    oklch(93.5% 0.017 259.4)

  3. Step 200

    200

    #CDDAEE

    oklch(88.5% 0.031 258.9)

  4. Step 300

    300

    #ABC2E6

    oklch(80.9% 0.057 259.3)

  5. Step 400

    400

    #7EA2D9

    oklch(70.7% 0.09 258.7)

  6. Step 500

    500

    #5E8ACF

    oklch(63.2% 0.115 259.1)

  7. Step 600

    600

    #4473BC

    oklch(55.7% 0.125 258.9)

  8. Step 700

    700

    #3560A2

    oklch(49.2% 0.117 258.7)

  9. Step 800

    800 (this color)

    #305287

    oklch(44% 0.096 259)

  10. Step 900

    900

    #284269

    oklch(37.8% 0.074 258.3)

  11. Step 950

    950

    #18273E

    oklch(27.2% 0.048 258.7)

Export this scale for Tailwind in the Tailwind colors tool

#305287 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)#3B56890.019
Deuteranopia (no green cones)#2F4E860.012
Tritanopia (no blue cones)#005E660.080
Achromatopsia (no color)#5252520.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #305287

    #305287

    oklch(44% 0.096 259)

  • #6D4B00

    #6D4B00

    oklch(43.9% 0.091 78.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305287

    #305287

    oklch(44% 0.096 259)

  • #005B78

    #005B78

    oklch(44% 0.086 228.4)

  • #514884

    #514884

    oklch(43.9% 0.097 288.7)

Open the analogous palette in the generator

Split complementary

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

  • #305287

    #305287

    oklch(44% 0.096 259)

  • #7C401C

    #7C401C

    oklch(44% 0.096 49)

  • #575600

    #575600

    oklch(44% 0.095 109)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305287

    #305287

    oklch(44% 0.096 259)

  • #7F3A3D

    #7F3A3D

    oklch(44% 0.096 19.1)

  • #345F28

    #345F28

    oklch(44% 0.097 139.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305287

    #305287

    oklch(44% 0.096 259)

  • #783A5B

    #783A5B

    oklch(43.9% 0.096 348.6)

  • #6D4B00

    #6D4B00

    oklch(43.9% 0.091 78.8)

  • #00624A

    #00624A

    oklch(44.1% 0.088 168.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #305287 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.