#6178DB

Closest named color: Cornflower (#6A79F7). oklch(60.3% 0.152 271.3), rgb(97, 120, 219).

Aa

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

About this color

#6178DB is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.152 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.044 away. Black text reads best on it, at 5.21:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.152)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.21:1
White text4.02:1

Values

HEX#6178DB
RGBrgb(97, 120, 219)
HSLhsl(229, 63%, 62%)
OKLCHoklch(60.3% 0.152 271.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 #6178DB 4.02:1 AA large text Lc -72.8 Content text, not long reading
Black text on #6178DB 5.21:1 AA Lc 36.8 Non-text elements, placeholder text
#6178DB text on white 4.02:1 AA large text Lc 67.3 Content text, not long reading
#6178DB text on black 5.21:1 AA Lc -34.4 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 500.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4E9F9

    oklch(93.5% 0.022 272.1)

  3. Step 200

    200

    #CFD8F5

    oklch(88.4% 0.041 271.9)

  4. Step 300

    300

    #AFBFF2

    oklch(81% 0.074 271.1)

  5. Step 400

    400

    #869CEB

    oklch(70.8% 0.119 271.3)

  6. Step 500

    500 (this color)

    #6178DB

    oklch(60.3% 0.152 271.3)

  7. Step 600

    600

    #5268D3

    oklch(55.7% 0.166 271.3)

  8. Step 700

    700

    #4356B6

    oklch(49.1% 0.153 271.3)

  9. Step 800

    800

    #374794

    oklch(42.8% 0.127 271.2)

  10. Step 900

    900

    #2F3C76

    oklch(37.7% 0.1 271.4)

  11. Step 950

    950

    #1B2445

    oklch(27.1% 0.063 270.3)

Export this scale for Tailwind in the Tailwind colors tool

#6178DB 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)#4B84DF0.035
Deuteranopia (no green cones)#3B7AD90.039
Tritanopia (no blue cones)#188E9F0.136
Achromatopsia (no color)#7F7F7F0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #6178DB

    #6178DB

    oklch(60.3% 0.152 271.3)

  • #9C7D00

    #9C7D00

    oklch(60.2% 0.123 91.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6178DB

    #6178DB

    oklch(60.3% 0.152 271.3)

  • #0089CD

    #0089CD

    oklch(60.3% 0.141 241.4)

  • #9267CC

    #9267CC

    oklch(60.2% 0.153 301.6)

Open the analogous palette in the generator

Split complementary

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

  • #6178DB

    #6178DB

    oklch(60.3% 0.152 271.3)

  • #BB6A00

    #BB6A00

    oklch(60.3% 0.14 61.4)

  • #748D00

    #748D00

    oklch(60.2% 0.145 121.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6178DB

    #6178DB

    oklch(60.3% 0.152 271.3)

  • #CC5744

    #CC5744

    oklch(60.3% 0.153 31.3)

  • #1B9A4F

    #1B9A4F

    oklch(60.4% 0.153 151.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6178DB

    #6178DB

    oklch(60.3% 0.152 271.3)

  • #C7537B

    #C7537B

    oklch(60.2% 0.153 1.2)

  • #9C7D00

    #9C7D00

    oklch(60.2% 0.123 91.3)

  • #009685

    #009685

    oklch(60.4% 0.109 181.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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