#6271C8

Closest named color: Dark Periwinkle (#665FD1). oklch(57.8% 0.134 274.1), rgb(98, 113, 200).

Aa

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

About this color

#6271C8 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 58%, its chroma 0.134 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.049 away. Black text reads best on it, at 4.71:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.134)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.71:1
White text4.45:1

Values

HEX#6271C8
RGBrgb(98, 113, 200)
HSLhsl(231, 48%, 58%)
OKLCHoklch(57.8% 0.134 274.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 #6271C8 4.45:1 AA large text Lc -76.2 Fine for body text
Black text on #6271C8 4.71:1 AA Lc 33.3 Non-text elements, placeholder text
#6271C8 text on white 4.45:1 AA large text Lc 70.7 Content text, not long reading
#6271C8 text on black 4.71:1 AA Lc -30.9 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D2D8F0

    oklch(88.5% 0.034 274.5)

  4. Step 300

    300

    #B4BEE8

    oklch(80.8% 0.06 274.5)

  5. Step 400

    400

    #8E9CDD

    oklch(70.7% 0.097 274.3)

  6. Step 500

    500

    #7382D4

    oklch(63.1% 0.124 274.4)

  7. Step 600

    600 (this color)

    #6271C8

    oklch(57.8% 0.134 274.1)

  8. Step 700

    700

    #4C58A6

    oklch(49% 0.125 274.3)

  9. Step 800

    800

    #3E4987

    oklch(42.8% 0.103 273.7)

  10. Step 900

    900

    #353D6C

    oklch(37.7% 0.081 274.6)

  11. Step 950

    950

    #1F243F

    oklch(27% 0.051 274.5)

Export this scale for Tailwind in the Tailwind colors tool

#6271C8 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)#4D7CCB0.035
Deuteranopia (no green cones)#4373C60.036
Tritanopia (no blue cones)#3684930.119
Achromatopsia (no color)#7777770.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #6271C8

    #6271C8

    oklch(57.8% 0.134 274.1)

  • #917700

    #917700

    oklch(57.7% 0.118 93.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6271C8

    #6271C8

    oklch(57.8% 0.134 274.1)

  • #1980C2

    #1980C2

    oklch(57.8% 0.134 243.8)

  • #8B63B9

    #8B63B9

    oklch(57.7% 0.134 304)

Open the analogous palette in the generator

Split complementary

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

  • #6271C8

    #6271C8

    oklch(57.8% 0.134 274.1)

  • #AE6600

    #AE6600

    oklch(57.8% 0.131 64)

  • #698618

    #698618

    oklch(57.7% 0.134 124.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6271C8

    #6271C8

    oklch(57.8% 0.134 274.1)

  • #BB5741

    #BB5741

    oklch(57.7% 0.134 33.8)

  • #209053

    #209053

    oklch(57.8% 0.135 153.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6271C8

    #6271C8

    oklch(57.8% 0.134 274.1)

  • #B85370

    #B85370

    oklch(57.7% 0.133 4.2)

  • #917700

    #917700

    oklch(57.7% 0.118 93.6)

  • #008D80

    #008D80

    oklch(57.8% 0.103 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 #6271C8, closest first.

Similar named colors

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

Use #6271C8 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.