#284FCB

Closest named color: Blue Blue (#2242C7). oklch(48.2% 0.197 265.7), rgb(40, 79, 203).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.197)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text3.07:1
White text6.83:1

Values

HEX#284FCB
RGBrgb(40, 79, 203)
HSLhsl(226, 67%, 48%)
OKLCHoklch(48.2% 0.197 265.7)

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 #284FCB 6.83:1 AA Lc -88.0 Fine for body text
Black text on #284FCB 3.07:1 AA large text Lc 21.1 Dividers and decoration only
#284FCB text on white 6.83:1 AA Lc 82.9 Fine for body text
#284FCB text on black 3.07:1 AA large text Lc -19.0 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 700.

  1. Step 50

    50

    #F1F5FE

    oklch(97% 0.013 266.7)

  2. Step 100

    100

    #E1EAFD

    oklch(93.6% 0.028 265.4)

  3. Step 200

    200

    #C9D9FD

    oklch(88.5% 0.053 266.4)

  4. Step 300

    300

    #A3C0FF

    oklch(80.9% 0.095 265.2)

  5. Step 400

    400

    #739CFF

    oklch(70.7% 0.152 265.7)

  6. Step 500

    500

    #507FFE

    oklch(63.1% 0.196 265.7)

  7. Step 600

    600

    #3764ED

    oklch(55.5% 0.212 265.8)

  8. Step 700

    700 (this color)

    #284FCB

    oklch(48.2% 0.197 265.7)

  9. Step 800

    800

    #2344A7

    oklch(42.7% 0.164 265.6)

  10. Step 900

    900

    #213B84

    oklch(37.8% 0.127 265.8)

  11. Step 950

    950

    #13234D

    oklch(26.9% 0.08 265.6)

Export this scale for Tailwind in the Tailwind colors tool

#284FCB 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)#0062CF0.045
Deuteranopia (no green cones)#0053C90.020
Tritanopia (no blue cones)#006F850.153
Achromatopsia (no color)#5B5B5B0.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #284FCB

    #284FCB

    oklch(48.2% 0.197 265.7)

  • #775900

    #775900

    oklch(48.2% 0.099 85.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284FCB

    #284FCB

    oklch(48.2% 0.197 265.7)

  • #006690

    #006690

    oklch(48.2% 0.103 235.6)

  • #6C38BE

    #6C38BE

    oklch(48.3% 0.197 295.9)

Open the analogous palette in the generator

Split complementary

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

  • #284FCB

    #284FCB

    oklch(48.2% 0.197 265.7)

  • #8F4800

    #8F4800

    oklch(48.1% 0.119 55.3)

  • #5C6500

    #5C6500

    oklch(48.2% 0.11 115.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284FCB

    #284FCB

    oklch(48.2% 0.197 265.7)

  • #B20018

    #B20018

    oklch(48.1% 0.195 25.7)

  • #007220

    #007220

    oklch(48% 0.148 145.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284FCB

    #284FCB

    oklch(48.2% 0.197 265.7)

  • #AA0062

    #AA0062

    oklch(48.1% 0.197 355.7)

  • #775900

    #775900

    oklch(48.2% 0.099 85.7)

  • #006E5C

    #006E5C

    oklch(48.1% 0.09 176.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #284FCB.

Similar named colors

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

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