#4173EB

Closest named color: Royal Blue (#4169E1). oklch(58.7% 0.189 264.3), rgb(65, 115, 235).

Aa

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

About this color

#4173EB is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.189 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.028 away. Black text reads best on it, at 4.87:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.189)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.87:1
White text4.30:1

Values

HEX#4173EB
RGBrgb(65, 115, 235)
HSLhsl(222, 81%, 59%)
OKLCHoklch(58.7% 0.189 264.3)

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 #4173EB 4.30:1 AA large text Lc -74.8 Content text, not long reading
Black text on #4173EB 4.87:1 AA Lc 34.7 Non-text elements, placeholder text
#4173EB text on white 4.30:1 AA large text Lc 69.3 Content text, not long reading
#4173EB text on black 4.87:1 AA Lc -32.3 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 600.

  1. Step 50

    50

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CADAF9

    oklch(88.6% 0.046 263.7)

  4. Step 300

    300

    #A5C0F9

    oklch(80.8% 0.086 264.8)

  5. Step 400

    400

    #759EF5

    oklch(70.7% 0.136 264.1)

  6. Step 500

    500

    #5383F2

    oklch(63.2% 0.174 264.4)

  7. Step 600

    600 (this color)

    #4173EB

    oklch(58.7% 0.189 264.3)

  8. Step 700

    700

    #2B57C3

    oklch(49.2% 0.176 264.2)

  9. Step 800

    800

    #25489D

    oklch(42.8% 0.145 264.3)

  10. Step 900

    900

    #223D7D

    oklch(37.7% 0.114 264.4)

  11. Step 950

    950

    #142449

    oklch(26.9% 0.072 264.5)

Export this scale for Tailwind in the Tailwind colors tool

#4173EB 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)#2582EF0.038
Deuteranopia (no green cones)#0072E90.033
Tritanopia (no blue cones)#0090A40.151
Achromatopsia (no color)#7A7A7A0.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #4173EB

    #4173EB

    oklch(58.7% 0.189 264.3)

  • #9E7500

    #9E7500

    oklch(58.7% 0.121 84)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4173EB

    #4173EB

    oklch(58.7% 0.189 264.3)

  • #0087BA

    #0087BA

    oklch(58.8% 0.123 234.1)

  • #865DDF

    #865DDF

    oklch(58.6% 0.19 294.3)

Open the analogous palette in the generator

Split complementary

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

  • #4173EB

    #4173EB

    oklch(58.7% 0.189 264.3)

  • #BD5F00

    #BD5F00

    oklch(58.7% 0.147 54)

  • #7C8400

    #7C8400

    oklch(58.7% 0.132 114)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4173EB

    #4173EB

    oklch(58.7% 0.189 264.3)

  • #D63D40

    #D63D40

    oklch(58.8% 0.19 24.2)

  • #009721

    #009721

    oklch(58.7% 0.189 144.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4173EB

    #4173EB

    oklch(58.7% 0.189 264.3)

  • #CC3D83

    #CC3D83

    oklch(58.8% 0.19 354.6)

  • #9E7500

    #9E7500

    oklch(58.7% 0.121 84)

  • #009178

    #009178

    oklch(58.6% 0.111 174.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4173EB 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.