#6C81FE

Closest named color: Cornflower (#6A79F7). oklch(64.9% 0.185 273), rgb(108, 129, 254).

Aa

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

About this color

#6C81FE is a medium-light, vivid blue. In OKLCH its lightness is 65%, its chroma 0.185 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.022 away. Black text reads best on it, at 6.20:1.

Hue familyBlues
Lightnessmedium-light (65%)
Chromavivid (0.185)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text6.20:1
White text3.38:1

Values

HEX#6C81FE
RGBrgb(108, 129, 254)
HSLhsl(231, 99%, 71%)
OKLCHoklch(64.9% 0.185 273)

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 #6C81FE 3.38:1 AA large text Lc -66.5 Content text, not long reading
Black text on #6C81FE 6.20:1 AA Lc 43.1 Non-text elements, placeholder text
#6C81FE text on white 3.38:1 AA large text Lc 61.0 Content text, not long reading
#6C81FE text on black 6.20:1 AA Lc -40.7 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CED8FB

    oklch(88.6% 0.049 272.8)

  4. Step 300

    300

    #ADBDFC

    oklch(80.9% 0.091 273.2)

  5. Step 400

    400

    #8398FA

    oklch(70.6% 0.145 273)

  6. Step 500

    500 (this color)

    #6C81FE

    oklch(64.9% 0.185 273)

  7. Step 600

    600

    #5160E7

    oklch(55.6% 0.203 273.1)

  8. Step 700

    700

    #424EC8

    oklch(49% 0.188 273)

  9. Step 800

    800

    #3641A2

    oklch(42.6% 0.156 273)

  10. Step 900

    900

    #2E3981

    oklch(37.8% 0.121 272.7)

  11. Step 950

    950

    #1B224B

    oklch(27% 0.076 273)

Export this scale for Tailwind in the Tailwind colors tool

#6C81FE 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)#4092FF0.054
Deuteranopia (no green cones)#2586FB0.060
Tritanopia (no blue cones)#009DB40.162
Achromatopsia (no color)#8C8C8C0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #6C81FE

    #6C81FE

    oklch(64.9% 0.185 273)

  • #AB8C00

    #AB8C00

    oklch(65% 0.133 93.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6C81FE

    #6C81FE

    oklch(64.9% 0.185 273)

  • #0097E6

    #0097E6

    oklch(65% 0.157 243)

  • #A76CEA

    #A76CEA

    oklch(64.9% 0.186 303.2)

Open the analogous palette in the generator

Split complementary

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

  • #6C81FE

    #6C81FE

    oklch(64.9% 0.185 273)

  • #CD7700

    #CD7700

    oklch(65% 0.149 62.8)

  • #7D9D00

    #7D9D00

    oklch(64.8% 0.159 122.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6C81FE

    #6C81FE

    oklch(64.9% 0.185 273)

  • #EA583C

    #EA583C

    oklch(64.9% 0.186 32.9)

  • #00AB5B

    #00AB5B

    oklch(65% 0.167 153)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6C81FE

    #6C81FE

    oklch(64.9% 0.185 273)

  • #E55384

    #E55384

    oklch(65% 0.185 3.1)

  • #AB8C00

    #AB8C00

    oklch(65% 0.133 93.1)

  • #00A596

    #00A596

    oklch(64.8% 0.115 183.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #6C81FE.

Similar named colors

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

Use #6C81FE 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.