#474F98

Closest named color: Twilight (#4E518B). oklch(45.8% 0.118 276), rgb(71, 79, 152).

Aa

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

About this color

#474F98 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.118 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.025 away. White text reads best on it, at 7.39:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.83:1
White text7.39:1

Values

HEX#474F98
RGBrgb(71, 79, 152)
HSLhsl(234, 36%, 44%)
OKLCHoklch(45.8% 0.118 276)

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 #474F98 7.39:1 AAA Lc -90.4 Preferred for body text
Black text on #474F98 2.83:1 Fails Lc 18.5 Dividers and decoration only
#474F98 text on white 7.39:1 AAA Lc 85.5 Fine for body text
#474F98 text on black 2.83:1 Fails Lc -16.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 800.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D2D8F3

    oklch(88.6% 0.038 275.7)

  4. Step 300

    300

    #B4BDEE

    oklch(80.8% 0.07 276.6)

  5. Step 400

    400

    #8E9AE5

    oklch(70.7% 0.111 276.2)

  6. Step 500

    500

    #7380DD

    oklch(63.2% 0.14 275.6)

  7. Step 600

    600

    #5D67CB

    oklch(55.6% 0.153 275.9)

  8. Step 700

    700

    #4D55B0

    oklch(49.1% 0.143 276)

  9. Step 800

    800 (this color)

    #474F98

    oklch(45.8% 0.118 276)

  10. Step 900

    900

    #353B71

    oklch(37.6% 0.092 276.3)

  11. Step 950

    950

    #1F2342

    oklch(26.9% 0.058 276.3)

Export this scale for Tailwind in the Tailwind colors tool

#474F98 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)#2E599B0.037
Deuteranopia (no green cones)#2552960.039
Tritanopia (no blue cones)#235F6C0.104
Achromatopsia (no color)#5656560.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #474F98

    #474F98

    oklch(45.8% 0.118 276)

  • #675700

    #675700

    oklch(45.9% 0.095 96.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #474F98

    #474F98

    oklch(45.8% 0.118 276)

  • #005B95

    #005B95

    oklch(45.8% 0.119 246.5)

  • #68438B

    #68438B

    oklch(45.8% 0.119 306)

Open the analogous palette in the generator

Split complementary

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

  • #474F98

    #474F98

    oklch(45.8% 0.118 276)

  • #7D4A00

    #7D4A00

    oklch(45.9% 0.102 66.2)

  • #476200

    #476200

    oklch(45.7% 0.117 126.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #474F98

    #474F98

    oklch(45.8% 0.118 276)

  • #8D3A24

    #8D3A24

    oklch(45.8% 0.118 35.8)

  • #00693C

    #00693C

    oklch(45.8% 0.111 156)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #474F98

    #474F98

    oklch(45.8% 0.118 276)

  • #8B364D

    #8B364D

    oklch(45.8% 0.118 6.2)

  • #675700

    #675700

    oklch(45.9% 0.095 96.7)

  • #00665E

    #00665E

    oklch(45.9% 0.081 185.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #474F98 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.