#6274E4

Closest named color: Cornflower (#6A79F7). oklch(60.1% 0.169 273.4), rgb(98, 116, 228).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.169)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.13:1
White text4.08:1

Values

HEX#6274E4
RGBrgb(98, 116, 228)
HSLhsl(232, 71%, 64%)
OKLCHoklch(60.1% 0.169 273.4)

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 #6274E4 4.08:1 AA large text Lc -73.3 Content text, not long reading
Black text on #6274E4 5.13:1 AA Lc 36.3 Non-text elements, placeholder text
#6274E4 text on white 4.08:1 AA large text Lc 67.8 Content text, not long reading
#6274E4 text on black 5.13:1 AA Lc -33.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 500.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9FA

    oklch(93.5% 0.024 272.8)

  3. Step 200

    200

    #CFD8F8

    oklch(88.5% 0.045 273)

  4. Step 300

    300

    #AFBDF7

    oklch(80.8% 0.084 273.9)

  5. Step 400

    400

    #8699F3

    oklch(70.6% 0.133 273.5)

  6. Step 500

    500 (this color)

    #6274E4

    oklch(60.1% 0.169 273.4)

  7. Step 600

    600

    #5463DD

    oklch(55.5% 0.185 273.5)

  8. Step 700

    700

    #4552C0

    oklch(49.2% 0.171 273.3)

  9. Step 800

    800

    #38439B

    oklch(42.6% 0.143 273.4)

  10. Step 900

    900

    #303A7B

    oklch(37.7% 0.11 273.4)

  11. Step 950

    950

    #1C2248

    oklch(26.9% 0.07 274)

Export this scale for Tailwind in the Tailwind colors tool

#6274E4 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)#3B83E80.049
Deuteranopia (no green cones)#2578E20.055
Tritanopia (no blue cones)#048DA10.150
Achromatopsia (no color)#7E7E7E0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #6274E4

    #6274E4

    oklch(60.1% 0.169 273.4)

  • #9A7E00

    #9A7E00

    oklch(60.2% 0.123 93.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6274E4

    #6274E4

    oklch(60.1% 0.169 273.4)

  • #0088D0

    #0088D0

    oklch(60.2% 0.146 243)

  • #9662D2

    #9662D2

    oklch(60.2% 0.169 303.1)

Open the analogous palette in the generator

Split complementary

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

  • #6274E4

    #6274E4

    oklch(60.1% 0.169 273.4)

  • #B86B00

    #B86B00

    oklch(60.1% 0.137 63.3)

  • #708E00

    #708E00

    oklch(60.2% 0.148 123.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6274E4

    #6274E4

    oklch(60.1% 0.169 273.4)

  • #D25036

    #D25036

    oklch(60.1% 0.17 33.2)

  • #009A52

    #009A52

    oklch(60.2% 0.154 153.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6274E4

    #6274E4

    oklch(60.1% 0.169 273.4)

  • #CE4B76

    #CE4B76

    oklch(60.1% 0.169 3.4)

  • #9A7E00

    #9A7E00

    oklch(60.2% 0.123 93.2)

  • #009587

    #009587

    oklch(60.2% 0.107 183.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6274E4 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.