#6262DF

Closest named color: Dark Periwinkle (#665FD1). oklch(56.4% 0.186 278.6), rgb(98, 98, 223).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.186)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.33:1
White text4.84:1

Values

HEX#6262DF
RGBrgb(98, 98, 223)
HSLhsl(240, 66%, 63%)
OKLCHoklch(56.4% 0.186 278.6)

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 #6262DF 4.84:1 AA Lc -78.7 Fine for body text
Black text on #6262DF 4.33:1 AA large text Lc 30.8 Non-text elements, placeholder text
#6262DF text on white 4.84:1 AA Lc 73.3 Content text, not long reading
#6262DF text on black 4.33:1 AA large text Lc -28.4 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9FA

    oklch(93.7% 0.023 277.9)

  3. Step 200

    200

    #D2D7F8

    oklch(88.6% 0.046 278.6)

  4. Step 300

    300

    #B4BCF7

    oklch(81% 0.084 278.4)

  5. Step 400

    400

    #8F97F2

    oklch(70.8% 0.133 278.6)

  6. Step 500

    500

    #757AEE

    oklch(63.2% 0.171 278.5)

  7. Step 600

    600 (this color)

    #6262DF

    oklch(56.4% 0.186 278.6)

  8. Step 700

    700

    #504EBF

    oklch(49.2% 0.172 278.8)

  9. Step 800

    800

    #41419B

    oklch(42.8% 0.143 278.5)

  10. Step 900

    900

    #36387B

    oklch(37.7% 0.111 278.3)

  11. Step 950

    950

    #202148

    oklch(27% 0.071 279.4)

Export this scale for Tailwind in the Tailwind colors tool

#6262DF 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)#0077E30.079
Deuteranopia (no green cones)#006CDC0.074
Tritanopia (no blue cones)#1D7F970.161
Achromatopsia (no color)#7171710.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #6262DF

    #6262DF

    oklch(56.4% 0.186 278.6)

  • #887600

    #887600

    oklch(56.5% 0.117 98.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6262DF

    #6262DF

    oklch(56.4% 0.186 278.6)

  • #0079CB

    #0079CB

    oklch(56.4% 0.154 248.7)

  • #954EC7

    #954EC7

    oklch(56.4% 0.186 308.7)

Open the analogous palette in the generator

Split complementary

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

  • #6262DF

    #6262DF

    oklch(56.4% 0.186 278.6)

  • #A46600

    #A46600

    oklch(56.5% 0.123 68.8)

  • #5A8500

    #5A8500

    oklch(56.4% 0.149 128.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6262DF

    #6262DF

    oklch(56.4% 0.186 278.6)

  • #C94100

    #C94100

    oklch(56.5% 0.182 38.8)

  • #008C58

    #008C58

    oklch(56.4% 0.131 158.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6262DF

    #6262DF

    oklch(56.4% 0.186 278.6)

  • #C9355F

    #C9355F

    oklch(56.4% 0.185 8.8)

  • #887600

    #887600

    oklch(56.5% 0.117 98.6)

  • #008881

    #008881

    oklch(56.5% 0.098 188.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6262DF 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.