#0843B2

Closest named color: Sapphire (#2138AB). oklch(42.8% 0.185 261.9), rgb(8, 67, 178).

Aa

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

About this color

#0843B2 is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.185 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.028 away. White text reads best on it, at 8.55:1.

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.185)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text2.45:1
White text8.55:1

Values

HEX#0843B2
RGBrgb(8, 67, 178)
HSLhsl(219, 91%, 36%)
OKLCHoklch(42.8% 0.185 261.9)

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 #0843B2 8.55:1 AAA Lc -93.1 Preferred for body text
Black text on #0843B2 2.45:1 Fails Lc 15.5 Dividers and decoration only
#0843B2 text on white 8.55:1 AAA Lc 88.5 Fine for body text
#0843B2 text on black 2.45:1 Fails Lc -13.7 Not readable

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

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DFEAFF

    oklch(93.5% 0.031 263.5)

  3. Step 200

    200

    #C5DAFF

    oklch(88.5% 0.056 261.8)

  4. Step 300

    300

    #9FC1FF

    oklch(80.9% 0.096 262.2)

  5. Step 400

    400

    #6A9EFF

    oklch(70.6% 0.153 261.9)

  6. Step 500

    500

    #4182FF

    oklch(63.1% 0.198 261.8)

  7. Step 600

    600

    #1062FC

    oklch(55.5% 0.24 261.9)

  8. Step 700

    700

    #0250DC

    oklch(49.1% 0.223 261.9)

  9. Step 800

    800 (this color)

    #0843B2

    oklch(42.8% 0.185 261.9)

  10. Step 900

    900

    #103A8C

    oklch(37.6% 0.144 261.9)

  11. Step 950

    950

    #0B2352

    oklch(27% 0.091 262)

Export this scale for Tailwind in the Tailwind colors tool

#0843B2 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)#0054B60.042
Deuteranopia (no green cones)#0045B00.006
Tritanopia (no blue cones)#0060740.140
Achromatopsia (no color)#4C4C4C0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #0843B2

    #0843B2

    oklch(42.8% 0.185 261.9)

  • #674900

    #674900

    oklch(42.7% 0.088 81.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0843B2

    #0843B2

    oklch(42.8% 0.185 261.9)

  • #005776

    #005776

    oklch(42.8% 0.087 231.2)

  • #562DA9

    #562DA9

    oklch(42.8% 0.185 291.8)

Open the analogous palette in the generator

Split complementary

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

  • #0843B2

    #0843B2

    oklch(42.8% 0.185 261.9)

  • #7C3A00

    #7C3A00

    oklch(42.8% 0.11 52.3)

  • #515400

    #515400

    oklch(42.9% 0.095 112.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0843B2

    #0843B2

    oklch(42.8% 0.185 261.9)

  • #97001F

    #97001F

    oklch(42.7% 0.172 21.9)

  • #086100

    #086100

    oklch(42.8% 0.144 141.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0843B2

    #0843B2

    oklch(42.8% 0.185 261.9)

  • #8F0059

    #8F0059

    oklch(42.7% 0.177 351.9)

  • #674900

    #674900

    oklch(42.7% 0.088 81.6)

  • #005E4A

    #005E4A

    oklch(42.9% 0.083 171.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #0843B2.

Similar named colors

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

Use #0843B2 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.