#284ABA

Closest named color: Blue Blue (#2242C7). oklch(45.7% 0.181 266.2), rgb(40, 74, 186).

Aa

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

About this color

#284ABA is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.181 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.028 away. White text reads best on it, at 7.55:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromavivid (0.181)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text2.77:1
White text7.55:1

Values

HEX#284ABA
RGBrgb(40, 74, 186)
HSLhsl(226, 65%, 44%)
OKLCHoklch(45.7% 0.181 266.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 #284ABA 7.55:1 AAA Lc -90.5 Preferred for body text
Black text on #284ABA 2.77:1 Fails Lc 18.4 Dividers and decoration only
#284ABA text on white 7.55:1 AAA Lc 85.6 Fine for body text
#284ABA text on black 2.77:1 Fails Lc -16.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 800.

  1. Step 50

    50

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C8D9FF

    oklch(88.5% 0.056 266.2)

  4. Step 300

    300

    #A4C0FF

    oklch(81% 0.095 265.8)

  5. Step 400

    400

    #749CFF

    oklch(70.8% 0.152 266)

  6. Step 500

    500

    #517FFF

    oklch(63.2% 0.197 266)

  7. Step 600

    600

    #335FFA

    oklch(55.6% 0.235 266.2)

  8. Step 700

    700

    #274DDA

    oklch(49.1% 0.219 266.2)

  9. Step 800

    800 (this color)

    #284ABA

    oklch(45.7% 0.181 266.2)

  10. Step 900

    900

    #1E398B

    oklch(37.8% 0.14 265.9)

  11. Step 950

    950

    #122251

    oklch(27% 0.089 266.3)

Export this scale for Tailwind in the Tailwind colors tool

#284ABA 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)#005BBE0.042
Deuteranopia (no green cones)#004EB80.021
Tritanopia (no blue cones)#00677B0.142
Achromatopsia (no color)#5454540.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #284ABA

    #284ABA

    oklch(45.7% 0.181 266.2)

  • #6E5300

    #6E5300

    oklch(45.8% 0.094 86.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284ABA

    #284ABA

    oklch(45.7% 0.181 266.2)

  • #005E87

    #005E87

    oklch(45.6% 0.099 236.9)

  • #6435AE

    #6435AE

    oklch(45.7% 0.182 296.2)

Open the analogous palette in the generator

Split complementary

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

  • #284ABA

    #284ABA

    oklch(45.7% 0.181 266.2)

  • #854300

    #854300

    oklch(45.7% 0.112 55.7)

  • #555E00

    #555E00

    oklch(45.8% 0.105 116.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284ABA

    #284ABA

    oklch(45.7% 0.181 266.2)

  • #A50A16

    #A50A16

    oklch(45.8% 0.181 26.3)

  • #006A20

    #006A20

    oklch(45.6% 0.138 146.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284ABA

    #284ABA

    oklch(45.7% 0.181 266.2)

  • #9D0B5A

    #9D0B5A

    oklch(45.8% 0.181 356.3)

  • #6E5300

    #6E5300

    oklch(45.8% 0.094 86.8)

  • #006656

    #006656

    oklch(45.6% 0.085 177)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #284ABA 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.