#3158DD

Closest named color: Azul (#1D5DEC). oklch(51.7% 0.208 266.4), rgb(49, 88, 221).

Aa

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

About this color

#3158DD is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.208 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Azul (#1D5DEC), ΔE 0.027 away. White text reads best on it, at 5.88:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.208)
Temperaturecool
Nearest nameAzul (#1D5DEC)
Black text3.57:1
White text5.88:1

Values

HEX#3158DD
RGBrgb(49, 88, 221)
HSLhsl(226, 72%, 53%)
OKLCHoklch(51.7% 0.208 266.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 #3158DD 5.88:1 AA Lc -84.0 Fine for body text
Black text on #3158DD 3.57:1 AA large text Lc 25.3 Dividers and decoration only
#3158DD text on white 5.88:1 AA Lc 78.8 Fine for body text
#3158DD text on black 3.57:1 AA large text Lc -23.0 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

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E1EAFE

    oklch(93.6% 0.029 266.4)

  3. Step 200

    200

    #C8D9FF

    oklch(88.5% 0.056 266.2)

  4. Step 300

    300

    #A4BFFF

    oklch(80.8% 0.096 266.6)

  5. Step 400

    400

    #749CFF

    oklch(70.8% 0.152 266)

  6. Step 500

    500

    #527EFF

    oklch(63% 0.198 266.5)

  7. Step 600

    600

    #3762F3

    oklch(55.7% 0.222 266.3)

  8. Step 700

    700 (this color)

    #3158DD

    oklch(51.7% 0.208 266.4)

  9. Step 800

    800

    #2342AB

    oklch(42.6% 0.172 266.3)

  10. Step 900

    900

    #203A87

    oklch(37.7% 0.133 266)

  11. Step 950

    950

    #13234F

    oklch(27.1% 0.084 265.9)

Export this scale for Tailwind in the Tailwind colors tool

#3158DD 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)#006DE10.050
Deuteranopia (no green cones)#005DDA0.025
Tritanopia (no blue cones)#007A920.162
Achromatopsia (no color)#6464640.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #3158DD

    #3158DD

    oklch(51.7% 0.208 266.4)

  • #836300

    #836300

    oklch(51.8% 0.106 86.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3158DD

    #3158DD

    oklch(51.7% 0.208 266.4)

  • #0070A0

    #0070A0

    oklch(51.6% 0.113 237)

  • #783FCE

    #783FCE

    oklch(51.7% 0.208 296.7)

Open the analogous palette in the generator

Split complementary

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

  • #3158DD

    #3158DD

    oklch(51.7% 0.208 266.4)

  • #9D5100

    #9D5100

    oklch(51.7% 0.126 56.2)

  • #657000

    #657000

    oklch(51.8% 0.119 116.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3158DD

    #3158DD

    oklch(51.7% 0.208 266.4)

  • #C4081A

    #C4081A

    oklch(51.8% 0.208 26.4)

  • #007E28

    #007E28

    oklch(51.6% 0.156 146.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3158DD

    #3158DD

    oklch(51.7% 0.208 266.4)

  • #BA0A6B

    #BA0A6B

    oklch(51.7% 0.207 356.4)

  • #836300

    #836300

    oklch(51.8% 0.106 86.4)

  • #007A66

    #007A66

    oklch(51.8% 0.097 175.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #3158DD.

Similar named colors

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

Use #3158DD 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.