#336587

Closest named color: Denim (#3B638C). oklch(48.7% 0.077 240.6), rgb(51, 101, 135).

Aa

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

About this color

#336587 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.077 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.014 away. White text reads best on it, at 6.26:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.35:1
White text6.26:1

Values

HEX#336587
RGBrgb(51, 101, 135)
HSLhsl(204, 45%, 36%)
OKLCHoklch(48.7% 0.077 240.6)

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 #336587 6.26:1 AA Lc -86.2 Fine for body text
Black text on #336587 3.35:1 AA large text Lc 23.0 Dividers and decoration only
#336587 text on white 6.26:1 AA Lc 81.0 Fine for body text
#336587 text on black 3.35:1 AA large text Lc -20.8 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBF0

    oklch(93.6% 0.01 238.5)

  3. Step 200

    200

    #CEDBE6

    oklch(88.5% 0.021 243.4)

  4. Step 300

    300

    #ACC4D7

    oklch(80.8% 0.038 241.9)

  5. Step 400

    400

    #7FA6C3

    oklch(70.7% 0.06 240.9)

  6. Step 500

    500

    #5E90B3

    oklch(63.2% 0.075 240)

  7. Step 600

    600

    #43799F

    oklch(55.5% 0.083 241.1)

  8. Step 700

    700 (this color)

    #336587

    oklch(48.7% 0.077 240.6)

  9. Step 800

    800

    #2C536F

    oklch(42.6% 0.064 241.6)

  10. Step 900

    900

    #28455A

    oklch(37.7% 0.05 241.3)

  11. Step 950

    950

    #182834

    oklch(26.8% 0.031 241.7)

Export this scale for Tailwind in the Tailwind colors tool

#336587 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)#5665890.041
Deuteranopia (no green cones)#4A5D860.032
Tritanopia (no blue cones)#006D710.057
Achromatopsia (no color)#6060600.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #336587

    #336587

    oklch(48.7% 0.077 240.6)

  • #7F5530

    #7F5530

    oklch(48.7% 0.076 60.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336587

    #336587

    oklch(48.7% 0.077 240.6)

  • #196B78

    #196B78

    oklch(48.7% 0.077 210.8)

  • #4F5D8C

    #4F5D8C

    oklch(48.7% 0.078 270.7)

Open the analogous palette in the generator

Split complementary

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

  • #336587

    #336587

    oklch(48.7% 0.077 240.6)

  • #864E45

    #864E45

    oklch(48.7% 0.078 29.9)

  • #705E27

    #705E27

    oklch(48.8% 0.077 91.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336587

    #336587

    oklch(48.7% 0.077 240.6)

  • #834C5D

    #834C5D

    oklch(48.6% 0.077 0.5)

  • #596632

    #596632

    oklch(48.6% 0.077 120.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336587

    #336587

    oklch(48.7% 0.077 240.6)

  • #794F74

    #794F74

    oklch(48.7% 0.078 330.9)

  • #7F5530

    #7F5530

    oklch(48.7% 0.076 60.9)

  • #3D6C48

    #3D6C48

    oklch(48.7% 0.078 150.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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