#1864B4

Closest named color: Mid Blue (#276AB3). oklch(50.3% 0.145 254), rgb(24, 100, 180).

Aa

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

About this color

#1864B4 is a medium-dark, vivid blue. In OKLCH its lightness is 50%, its chroma 0.145 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.021 away. White text reads best on it, at 5.96:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromavivid (0.145)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.52:1
White text5.96:1

Values

HEX#1864B4
RGBrgb(24, 100, 180)
HSLhsl(211, 76%, 40%)
OKLCHoklch(50.3% 0.145 254)

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 #1864B4 5.96:1 AA Lc -84.5 Fine for body text
Black text on #1864B4 3.52:1 AA large text Lc 24.8 Dividers and decoration only
#1864B4 text on white 5.96:1 AA Lc 79.3 Fine for body text
#1864B4 text on black 3.52:1 AA large text Lc -22.5 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C8DBF3

    oklch(88.5% 0.039 254.3)

  4. Step 300

    300

    #A2C4EE

    oklch(81% 0.07 253.9)

  5. Step 400

    400

    #6EA4E5

    oklch(70.8% 0.112 253.8)

  6. Step 500

    500

    #458BDE

    oklch(63.1% 0.144 254.3)

  7. Step 600

    600

    #2273CB

    oklch(55.5% 0.156 254.1)

  8. Step 700

    700 (this color)

    #1864B4

    oklch(50.3% 0.145 254)

  9. Step 800

    800

    #144F8E

    oklch(42.7% 0.12 253.8)

  10. Step 900

    900

    #194272

    oklch(37.7% 0.094 254.4)

  11. Step 950

    950

    #102743

    oklch(27% 0.06 254.6)

Export this scale for Tailwind in the Tailwind colors tool

#1864B4 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)#3A6BB70.034
Deuteranopia (no green cones)#185DB20.019
Tritanopia (no blue cones)#0077830.108
Achromatopsia (no color)#6363630.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #1864B4

    #1864B4

    oklch(50.3% 0.145 254)

  • #885900

    #885900

    oklch(50.3% 0.107 73.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1864B4

    #1864B4

    oklch(50.3% 0.145 254)

  • #006F8C

    #006F8C

    oklch(50.3% 0.095 224.1)

  • #5D54B3

    #5D54B3

    oklch(50.4% 0.146 284.2)

Open the analogous palette in the generator

Split complementary

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

  • #1864B4

    #1864B4

    oklch(50.3% 0.145 254)

  • #A44103

    #A44103

    oklch(50.3% 0.144 44.2)

  • #6F6600

    #6F6600

    oklch(50.3% 0.106 103.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1864B4

    #1864B4

    oklch(50.3% 0.145 254)

  • #A6384A

    #A6384A

    oklch(50.3% 0.144 14.4)

  • #3E7500

    #3E7500

    oklch(50.4% 0.145 134.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1864B4

    #1864B4

    oklch(50.3% 0.145 254)

  • #9A3B78

    #9A3B78

    oklch(50.3% 0.145 344.1)

  • #885900

    #885900

    oklch(50.3% 0.107 73.6)

  • #007753

    #007753

    oklch(50.4% 0.108 163.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1864B4 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.