#5A6AFB

Closest named color: Neon Blue (#4361EE). oklch(59.4% 0.214 273.2), rgb(90, 106, 251).

Aa

Black text reads best on this color (4.88:1).

About this color

#5A6AFB is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.214 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Neon Blue (#4361EE), ΔE 0.042 away. Black text reads best on it, at 4.88:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.214)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.88:1
White text4.29:1

Values

HEX#5A6AFB
RGBrgb(90, 106, 251)
HSLhsl(234, 95%, 67%)
OKLCHoklch(59.4% 0.214 273.2)

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 #5A6AFB 4.29:1 AA large text Lc -74.7 Content text, not long reading
Black text on #5A6AFB 4.88:1 AA Lc 34.8 Non-text elements, placeholder text
#5A6AFB text on white 4.29:1 AA large text Lc 69.2 Content text, not long reading
#5A6AFB text on black 4.88:1 AA Lc -32.4 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FF

    oklch(93.6% 0.03 273.6)

  3. Step 200

    200

    #CDD7FF

    oklch(88.4% 0.056 274.2)

  4. Step 300

    300

    #ACBDFF

    oklch(80.9% 0.095 273)

  5. Step 400

    400

    #8297FF

    oklch(70.6% 0.154 273.2)

  6. Step 500

    500 (this color)

    #5A6AFB

    oklch(59.4% 0.214 273.2)

  7. Step 600

    600

    #4F59F8

    oklch(55.7% 0.233 273.3)

  8. Step 700

    700

    #4147D8

    oklch(49.1% 0.216 273.3)

  9. Step 800

    800

    #353CAE

    oklch(42.7% 0.178 273.3)

  10. Step 900

    900

    #2C358A

    oklch(37.6% 0.14 273)

  11. Step 950

    950

    #1A2051

    oklch(27% 0.089 273.6)

Export this scale for Tailwind in the Tailwind colors tool

#5A6AFB 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)#0081FF0.068
Deuteranopia (no green cones)#0073F80.058
Tritanopia (no blue cones)#008EA80.179
Achromatopsia (no color)#7A7A7A0.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A6AFB

    #5A6AFB

    oklch(59.4% 0.214 273.2)

  • #977C00

    #977C00

    oklch(59.4% 0.122 93.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A6AFB

    #5A6AFB

    oklch(59.4% 0.214 273.2)

  • #0085CD

    #0085CD

    oklch(59.3% 0.145 243.5)

  • #9A52E4

    #9A52E4

    oklch(59.5% 0.213 303.1)

Open the analogous palette in the generator

Split complementary

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

  • #5A6AFB

    #5A6AFB

    oklch(59.4% 0.214 273.2)

  • #B56900

    #B56900

    oklch(59.3% 0.135 63.1)

  • #6E8C00

    #6E8C00

    oklch(59.5% 0.147 123.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A6AFB

    #5A6AFB

    oklch(59.4% 0.214 273.2)

  • #E13308

    #E13308

    oklch(59.3% 0.214 33.2)

  • #009750

    #009750

    oklch(59.3% 0.152 153.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A6AFB

    #5A6AFB

    oklch(59.4% 0.214 273.2)

  • #DC2B72

    #DC2B72

    oklch(59.4% 0.214 3.1)

  • #977C00

    #977C00

    oklch(59.4% 0.122 93.6)

  • #009385

    #009385

    oklch(59.6% 0.106 183.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5A6AFB.

Similar named colors

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

Use #5A6AFB 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.