#505FBA

Closest named color: Iris (#6258C4). oklch(52% 0.143 273.4), rgb(80, 95, 186).

Aa

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

About this color

#505FBA is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.143 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.034 away. White text reads best on it, at 5.69:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.143)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.68:1
White text5.69:1

Values

HEX#505FBA
RGBrgb(80, 95, 186)
HSLhsl(232, 43%, 52%)
OKLCHoklch(52% 0.143 273.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 #505FBA 5.69:1 AA Lc -83.5 Fine for body text
Black text on #505FBA 3.68:1 AA large text Lc 25.8 Dividers and decoration only
#505FBA text on white 5.69:1 AA Lc 78.3 Fine for body text
#505FBA text on black 3.68:1 AA large text Lc -23.5 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F8

    oklch(93.5% 0.021 274)

  3. Step 200

    200

    #D0D8F3

    oklch(88.5% 0.038 272.5)

  4. Step 300

    300

    #B2BEEE

    oklch(80.9% 0.069 273.8)

  5. Step 400

    400

    #8A9BE6

    oklch(70.6% 0.112 273.5)

  6. Step 500

    500

    #6F81DE

    oklch(63.1% 0.141 273.5)

  7. Step 600

    600

    #5868CC

    oklch(55.6% 0.154 273.5)

  8. Step 700

    700 (this color)

    #505FBA

    oklch(52% 0.143 273.4)

  9. Step 800

    800

    #3B478F

    oklch(42.7% 0.119 273.2)

  10. Step 900

    900

    #323C72

    oklch(37.6% 0.093 273.3)

  11. Step 950

    950

    #1D2443

    oklch(27.1% 0.058 272.4)

Export this scale for Tailwind in the Tailwind colors tool

#505FBA 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)#326BBD0.040
Deuteranopia (no green cones)#2262B80.045
Tritanopia (no blue cones)#0D73830.127
Achromatopsia (no color)#6767670.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #505FBA

    #505FBA

    oklch(52% 0.143 273.4)

  • #7E6700

    #7E6700

    oklch(52.1% 0.107 93.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505FBA

    #505FBA

    oklch(52% 0.143 273.4)

  • #006FAC

    #006FAC

    oklch(52.1% 0.127 243.4)

  • #7B50AB

    #7B50AB

    oklch(52% 0.143 303.6)

Open the analogous palette in the generator

Split complementary

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

  • #505FBA

    #505FBA

    oklch(52% 0.143 273.4)

  • #975700

    #975700

    oklch(51.9% 0.118 63.4)

  • #5B7400

    #5B7400

    oklch(52% 0.128 123.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505FBA

    #505FBA

    oklch(52% 0.143 273.4)

  • #AC422D

    #AC422D

    oklch(52.1% 0.144 33.1)

  • #007E42

    #007E42

    oklch(52% 0.133 153.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505FBA

    #505FBA

    oklch(52% 0.143 273.4)

  • #A83E60

    #A83E60

    oklch(52% 0.142 3.6)

  • #7E6700

    #7E6700

    oklch(52.1% 0.107 93.5)

  • #007A6E

    #007A6E

    oklch(52% 0.093 183)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #505FBA.

Similar named colors

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

Use #505FBA 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.