#4174D4

Closest named color: Royal Blue (#4169E1). oklch(57.3% 0.158 261.7), rgb(65, 116, 212).

Aa

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

About this color

#4174D4 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.158 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.036 away. Black text reads best on it, at 4.67:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.158)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.67:1
White text4.49:1

Values

HEX#4174D4
RGBrgb(65, 116, 212)
HSLhsl(219, 63%, 54%)
OKLCHoklch(57.3% 0.158 261.7)

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 #4174D4 4.49:1 AA large text Lc -76.3 Fine for body text
Black text on #4174D4 4.67:1 AA Lc 33.2 Non-text elements, placeholder text
#4174D4 text on white 4.49:1 AA large text Lc 70.9 Content text, not long reading
#4174D4 text on black 4.67:1 AA Lc -30.8 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CBDAF4

    oklch(88.5% 0.039 261.5)

  4. Step 300

    300

    #A8C1EF

    oklch(80.8% 0.071 262.5)

  5. Step 400

    400

    #79A0E7

    oklch(70.6% 0.113 261.9)

  6. Step 500

    500

    #5787E0

    oklch(63.1% 0.144 261.7)

  7. Step 600

    600 (this color)

    #4174D4

    oklch(57.3% 0.158 261.7)

  8. Step 700

    700

    #2E5CB2

    oklch(49% 0.146 261.5)

  9. Step 800

    800

    #274C90

    oklch(42.7% 0.12 261.4)

  10. Step 900

    900

    #244073

    oklch(37.8% 0.094 261.4)

  11. Step 950

    950

    #152643

    oklch(27% 0.059 260.5)

Export this scale for Tailwind in the Tailwind colors tool

#4174D4 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)#447ED80.027
Deuteranopia (no green cones)#2670D20.025
Tritanopia (no blue cones)#008A9A0.126
Achromatopsia (no color)#7777770.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #4174D4

    #4174D4

    oklch(57.3% 0.158 261.7)

  • #9B7000

    #9B7000

    oklch(57.4% 0.118 81.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4174D4

    #4174D4

    oklch(57.3% 0.158 261.7)

  • #0083B1

    #0083B1

    oklch(57.3% 0.117 232.1)

  • #7C62CC

    #7C62CC

    oklch(57.2% 0.158 292)

Open the analogous palette in the generator

Split complementary

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

  • #4174D4

    #4174D4

    oklch(57.3% 0.158 261.7)

  • #BA5900

    #BA5900

    oklch(57.3% 0.148 51.6)

  • #7B7F00

    #7B7F00

    oklch(57.4% 0.127 112)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4174D4

    #4174D4

    oklch(57.3% 0.158 261.7)

  • #C4494D

    #C4494D

    oklch(57.3% 0.157 21.7)

  • #368E2D

    #368E2D

    oklch(57.3% 0.158 141.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4174D4

    #4174D4

    oklch(57.3% 0.158 261.7)

  • #BA4982

    #BA4982

    oklch(57.3% 0.158 351.9)

  • #9B7000

    #9B7000

    oklch(57.4% 0.118 81.8)

  • #008D70

    #008D70

    oklch(57.3% 0.112 171.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4174D4 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.