#0371BF

Closest named color: Mid Blue (#276AB3). oklch(53.8% 0.148 249.1), rgb(3, 113, 191).

Aa

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

About this color

#0371BF is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.148 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.025 away. White text reads best on it, at 5.09:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.148)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text4.11:1
White text5.09:1

Values

HEX#0371BF
RGBrgb(3, 113, 191)
HSLhsl(205, 97%, 38%)
OKLCHoklch(53.8% 0.148 249.1)

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 #0371BF 5.09:1 AA Lc -79.9 Fine for body text
Black text on #0371BF 4.11:1 AA large text Lc 29.6 Dividers and decoration only
#0371BF text on white 5.09:1 AA Lc 74.5 Content text, not long reading
#0371BF text on black 4.11:1 AA large text Lc -27.2 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 600.

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C7DCF1

    oklch(88.5% 0.037 248.2)

  4. Step 300

    300

    #A0C5EA

    oklch(80.9% 0.066 248.6)

  5. Step 400

    400

    #6AA6E0

    oklch(70.8% 0.106 248.7)

  6. Step 500

    500

    #3D8ED8

    oklch(63.1% 0.137 249.2)

  7. Step 600

    600 (this color)

    #0371BF

    oklch(53.8% 0.148 249.1)

  8. Step 700

    700

    #0063A9

    oklch(49% 0.136 249.1)

  9. Step 800

    800

    #08518A

    oklch(42.7% 0.114 249.4)

  10. Step 900

    900

    #13446E

    oklch(37.7% 0.088 248.7)

  11. Step 950

    950

    #0D2841

    oklch(27% 0.057 249.3)

Export this scale for Tailwind in the Tailwind colors tool

#0371BF 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)#4976C20.046
Deuteranopia (no green cones)#2B67BD0.028
Tritanopia (no blue cones)#00848E0.107
Achromatopsia (no color)#6E6E6E0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #0371BF

    #0371BF

    oklch(53.8% 0.148 249.1)

  • #995F00

    #995F00

    oklch(53.7% 0.117 68.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0371BF

    #0371BF

    oklch(53.8% 0.148 249.1)

  • #007B94

    #007B94

    oklch(53.8% 0.097 218.6)

  • #5E61C1

    #5E61C1

    oklch(53.9% 0.147 278.9)

Open the analogous palette in the generator

Split complementary

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

  • #0371BF

    #0371BF

    oklch(53.8% 0.148 249.1)

  • #B24822

    #B24822

    oklch(53.7% 0.147 39)

  • #7E6E00

    #7E6E00

    oklch(53.7% 0.111 99.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0371BF

    #0371BF

    oklch(53.8% 0.148 249.1)

  • #B2415C

    #B2415C

    oklch(53.8% 0.148 9)

  • #537D00

    #537D00

    oklch(53.8% 0.143 129.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0371BF

    #0371BF

    oklch(53.8% 0.148 249.1)

  • #A3468A

    #A3468A

    oklch(53.8% 0.148 339.1)

  • #995F00

    #995F00

    oklch(53.7% 0.117 68.9)

  • #008353

    #008353

    oklch(53.8% 0.124 159.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0371BF 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.