#4077DA

Closest named color: Royal Blue (#4169E1). oklch(58.3% 0.163 261.1), rgb(64, 119, 218).

Aa

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

About this color

#4077DA is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.163 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.038 away. Black text reads best on it, at 4.86:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.163)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.86:1
White text4.31:1

Values

HEX#4077DA
RGBrgb(64, 119, 218)
HSLhsl(219, 68%, 55%)
OKLCHoklch(58.3% 0.163 261.1)

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 #4077DA 4.31:1 AA large text Lc -75.0 Content text, not long reading
Black text on #4077DA 4.86:1 AA Lc 34.6 Non-text elements, placeholder text
#4077DA text on white 4.31:1 AA large text Lc 69.5 Content text, not long reading
#4077DA text on black 4.86:1 AA Lc -32.2 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

    #CADAF5

    oklch(88.5% 0.041 260.9)

  4. Step 300

    300

    #A6C2F1

    oklch(81% 0.073 260.7)

  5. Step 400

    400

    #77A0E9

    oklch(70.6% 0.117 261.4)

  6. Step 500

    500

    #5387E3

    oklch(63.1% 0.15 261)

  7. Step 600

    600 (this color)

    #4077DA

    oklch(58.3% 0.163 261.1)

  8. Step 700

    700

    #2B5CB5

    oklch(49.1% 0.151 261.2)

  9. Step 800

    800

    #244C92

    oklch(42.8% 0.124 260.7)

  10. Step 900

    900

    #224075

    oklch(37.8% 0.098 260.9)

  11. Step 950

    950

    #142644

    oklch(27% 0.061 260.1)

Export this scale for Tailwind in the Tailwind colors tool

#4077DA 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)#4481DE0.027
Deuteranopia (no green cones)#2473D80.025
Tritanopia (no blue cones)#008E9E0.129
Achromatopsia (no color)#7A7A7A0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #4077DA

    #4077DA

    oklch(58.3% 0.163 261.1)

  • #9F7200

    #9F7200

    oklch(58.2% 0.12 81.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4077DA

    #4077DA

    oklch(58.3% 0.163 261.1)

  • #0086B4

    #0086B4

    oklch(58.2% 0.118 231.5)

  • #7E65D3

    #7E65D3

    oklch(58.4% 0.163 291)

Open the analogous palette in the generator

Split complementary

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

  • #4077DA

    #4077DA

    oklch(58.3% 0.163 261.1)

  • #BF5B00

    #BF5B00

    oklch(58.4% 0.152 51.3)

  • #7F8100

    #7F8100

    oklch(58.2% 0.128 110.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4077DA

    #4077DA

    oklch(58.3% 0.163 261.1)

  • #C94A4F

    #C94A4F

    oklch(58.3% 0.162 21.4)

  • #39912B

    #39912B

    oklch(58.2% 0.162 141.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4077DA

    #4077DA

    oklch(58.3% 0.163 261.1)

  • #BF4A87

    #BF4A87

    oklch(58.3% 0.163 351)

  • #9F7200

    #9F7200

    oklch(58.2% 0.12 81.1)

  • #009172

    #009172

    oklch(58.4% 0.115 170.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4077DA 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.