#005FBA

Closest named color: Mid Blue (#276AB3). oklch(49.3% 0.162 255), rgb(0, 95, 186).

Aa

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

About this color

#005FBA is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.162 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.040 away. White text reads best on it, at 6.27:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.162)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.34:1
White text6.27:1

Values

HEX#005FBA
RGBrgb(0, 95, 186)
HSLhsl(209, 100%, 36%)
OKLCHoklch(49.3% 0.162 255)

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 #005FBA 6.27:1 AA Lc -85.7 Fine for body text
Black text on #005FBA 3.34:1 AA large text Lc 23.6 Dividers and decoration only
#005FBA text on white 6.27:1 AA Lc 80.5 Fine for body text
#005FBA text on black 3.34:1 AA large text Lc -21.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 700.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C6DBF6

    oklch(88.4% 0.044 254.8)

  4. Step 300

    300

    #9FC4F3

    oklch(81% 0.078 254.6)

  5. Step 400

    400

    #68A3ED

    oklch(70.6% 0.125 254.8)

  6. Step 500

    500

    #3C8AE8

    oklch(63.1% 0.161 255)

  7. Step 600

    600

    #1271D6

    oklch(55.5% 0.175 255.2)

  8. Step 700

    700 (this color)

    #005FBA

    oklch(49.3% 0.162 255)

  9. Step 800

    800

    #084E96

    oklch(42.8% 0.134 254.8)

  10. Step 900

    900

    #134177

    oklch(37.6% 0.104 255.1)

  11. Step 950

    950

    #0D2746

    oklch(27.1% 0.066 254.6)

Export this scale for Tailwind in the Tailwind colors tool

#005FBA 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)#2768BD0.032
Deuteranopia (no green cones)#0059B80.016
Tritanopia (no blue cones)#0075830.121
Achromatopsia (no color)#6060600.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #005FBA

    #005FBA

    oklch(49.3% 0.162 255)

  • #835700

    #835700

    oklch(49.3% 0.104 75)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #005FBA

    #005FBA

    oklch(49.3% 0.162 255)

  • #006C89

    #006C89

    oklch(49.4% 0.093 224.7)

  • #5B4DB8

    #5B4DB8

    oklch(49.3% 0.163 284.7)

Open the analogous palette in the generator

Split complementary

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

  • #005FBA

    #005FBA

    oklch(49.3% 0.162 255)

  • #9F4000

    #9F4000

    oklch(49.4% 0.141 45.2)

  • #6B6400

    #6B6400

    oklch(49.4% 0.105 104.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #005FBA

    #005FBA

    oklch(49.3% 0.162 255)

  • #A92A43

    #A92A43

    oklch(49.2% 0.162 14.6)

  • #397200

    #397200

    oklch(49.3% 0.144 135)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #005FBA

    #005FBA

    oklch(49.3% 0.162 255)

  • #9C2F76

    #9C2F76

    oklch(49.2% 0.162 344.7)

  • #835700

    #835700

    oklch(49.3% 0.104 75)

  • #007352

    #007352

    oklch(49.2% 0.104 164.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #005FBA 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.