#6162CF

Closest named color: Dark Periwinkle (#665FD1). oklch(55.2% 0.164 279.2), rgb(97, 98, 207).

Aa

White text reads best on this color (5.05:1).

About this color

#6162CF is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.164 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.010 away. White text reads best on it, at 5.05:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.164)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.15:1
White text5.05:1

Values

HEX#6162CF
RGBrgb(97, 98, 207)
HSLhsl(239, 53%, 60%)
OKLCHoklch(55.2% 0.164 279.2)

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 #6162CF 5.05:1 AA Lc -80.0 Fine for body text
Black text on #6162CF 4.15:1 AA large text Lc 29.4 Dividers and decoration only
#6162CF text on white 5.05:1 AA Lc 74.6 Content text, not long reading
#6162CF text on black 4.15:1 AA large text Lc -27.1 Dividers and decoration only

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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D3D7F5

    oklch(88.5% 0.041 279.5)

  4. Step 300

    300

    #B6BCF0

    oklch(80.8% 0.074 279.5)

  5. Step 400

    400

    #9198E9

    oklch(70.7% 0.118 279.1)

  6. Step 500

    500

    #787CE2

    oklch(63% 0.151 279.4)

  7. Step 600

    600 (this color)

    #6162CF

    oklch(55.2% 0.164 279.2)

  8. Step 700

    700

    #5151B4

    oklch(49% 0.153 279.1)

  9. Step 800

    800

    #424392

    oklch(42.6% 0.127 279)

  10. Step 900

    900

    #383A74

    oklch(37.8% 0.097 279.2)

  11. Step 950

    950

    #202244

    oklch(26.9% 0.063 278.8)

Export this scale for Tailwind in the Tailwind colors tool

#6162CF 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)#2573D30.067
Deuteranopia (no green cones)#146ACD0.070
Tritanopia (no blue cones)#307B8F0.143
Achromatopsia (no color)#6F6F6F0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #6162CF

    #6162CF

    oklch(55.2% 0.164 279.2)

  • #837200

    #837200

    oklch(55.1% 0.114 98.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6162CF

    #6162CF

    oklch(55.2% 0.164 279.2)

  • #0075C7

    #0075C7

    oklch(55.2% 0.154 249.4)

  • #8E51B9

    #8E51B9

    oklch(55.2% 0.164 309.1)

Open the analogous palette in the generator

Split complementary

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

  • #6162CF

    #6162CF

    oklch(55.2% 0.164 279.2)

  • #9F6300

    #9F6300

    oklch(55.3% 0.121 69)

  • #568200

    #568200

    oklch(55.3% 0.147 129.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6162CF

    #6162CF

    oklch(55.2% 0.164 279.2)

  • #BE4616

    #BE4616

    oklch(55.3% 0.164 39.3)

  • #008856

    #008856

    oklch(55.2% 0.127 158.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6162CF

    #6162CF

    oklch(55.2% 0.164 279.2)

  • #BD3D5E

    #BD3D5E

    oklch(55.2% 0.165 8.9)

  • #837200

    #837200

    oklch(55.1% 0.114 98.9)

  • #00847E

    #00847E

    oklch(55.3% 0.096 189.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6162CF 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.