#2578DB

Closest named color: Royal Blue (#4169E1). oklch(57.7% 0.17 255.7), rgb(37, 120, 219).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.170)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.78:1
White text4.38:1

Values

HEX#2578DB
RGBrgb(37, 120, 219)
HSLhsl(213, 72%, 50%)
OKLCHoklch(57.7% 0.17 255.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 #2578DB 4.38:1 AA large text Lc -75.4 Fine for body text
Black text on #2578DB 4.78:1 AA Lc 34.2 Non-text elements, placeholder text
#2578DB text on white 4.38:1 AA large text Lc 69.9 Content text, not long reading
#2578DB text on black 4.78:1 AA Lc -31.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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C7DBF6

    oklch(88.5% 0.043 255.9)

  4. Step 300

    300

    #A0C3F2

    oklch(80.8% 0.077 255.9)

  5. Step 400

    400

    #6BA3EC

    oklch(70.7% 0.123 255.5)

  6. Step 500

    500

    #418AE6

    oklch(63.2% 0.157 255.6)

  7. Step 600

    600 (this color)

    #2578DB

    oklch(57.7% 0.17 255.7)

  8. Step 700

    700

    #0D5EB7

    oklch(49% 0.158 255.7)

  9. Step 800

    800

    #104E94

    oklch(42.8% 0.13 255.3)

  10. Step 900

    900

    #164176

    oklch(37.6% 0.102 255.6)

  11. Step 950

    950

    #0F2745

    oklch(27.1% 0.064 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#2578DB 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)#4381DF0.035
Deuteranopia (no green cones)#1471D90.022
Tritanopia (no blue cones)#00909F0.129
Achromatopsia (no color)#7878780.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #2578DB

    #2578DB

    oklch(57.7% 0.17 255.7)

  • #A26E00

    #A26E00

    oklch(57.8% 0.121 76.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2578DB

    #2578DB

    oklch(57.7% 0.17 255.7)

  • #0086AB

    #0086AB

    oklch(57.7% 0.11 225.9)

  • #7465D8

    #7465D8

    oklch(57.9% 0.17 285.7)

Open the analogous palette in the generator

Split complementary

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

  • #2578DB

    #2578DB

    oklch(57.7% 0.17 255.7)

  • #C45200

    #C45200

    oklch(57.8% 0.163 45.8)

  • #847D00

    #847D00

    oklch(57.7% 0.123 105.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2578DB

    #2578DB

    oklch(57.7% 0.17 255.7)

  • #CA4357

    #CA4357

    oklch(57.8% 0.17 15.7)

  • #468E02

    #468E02

    oklch(57.7% 0.17 135.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2578DB

    #2578DB

    oklch(57.7% 0.17 255.7)

  • #BC468F

    #BC468F

    oklch(57.7% 0.171 345.7)

  • #A26E00

    #A26E00

    oklch(57.8% 0.121 76.1)

  • #008F68

    #008F68

    oklch(57.6% 0.12 165.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2578DB 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.