#1F5FBB

Closest named color: Mid Blue (#276AB3). oklch(49.9% 0.159 258.4), rgb(31, 95, 187).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (50%)
Chromavivid (0.159)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.41:1
White text6.15:1

Values

HEX#1F5FBB
RGBrgb(31, 95, 187)
HSLhsl(215, 72%, 43%)
OKLCHoklch(49.9% 0.159 258.4)

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 #1F5FBB 6.15:1 AA Lc -85.4 Fine for body text
Black text on #1F5FBB 3.41:1 AA large text Lc 23.9 Dividers and decoration only
#1F5FBB text on white 6.15:1 AA Lc 80.2 Fine for body text
#1F5FBB text on black 3.41:1 AA large text Lc -21.7 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

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C8DBF6

    oklch(88.6% 0.043 257.1)

  4. Step 300

    300

    #A2C2F3

    oklch(80.8% 0.078 258.8)

  5. Step 400

    400

    #70A2ED

    oklch(70.8% 0.123 258.3)

  6. Step 500

    500

    #4988E7

    oklch(63.1% 0.158 258.5)

  7. Step 600

    600

    #2A70D5

    oklch(55.7% 0.17 258.3)

  8. Step 700

    700 (this color)

    #1F5FBB

    oklch(49.9% 0.159 258.4)

  9. Step 800

    800

    #1A4C95

    oklch(42.6% 0.131 258.4)

  10. Step 900

    900

    #1C4077

    oklch(37.7% 0.103 258.8)

  11. Step 950

    950

    #112646

    oklch(27% 0.066 258.6)

Export this scale for Tailwind in the Tailwind colors tool

#1F5FBB 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)#2769BE0.029
Deuteranopia (no green cones)#005BB90.018
Tritanopia (no blue cones)#0075840.121
Achromatopsia (no color)#6161610.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F5FBB

    #1F5FBB

    oklch(49.9% 0.159 258.4)

  • #835A00

    #835A00

    oklch(49.9% 0.104 77.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F5FBB

    #1F5FBB

    oklch(49.9% 0.159 258.4)

  • #006D8F

    #006D8F

    oklch(50% 0.098 228.4)

  • #624DB6

    #624DB6

    oklch(49.8% 0.159 288.4)

Open the analogous palette in the generator

Split complementary

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

  • #1F5FBB

    #1F5FBB

    oklch(49.9% 0.159 258.4)

  • #9D4500

    #9D4500

    oklch(49.8% 0.135 48.5)

  • #696700

    #696700

    oklch(49.9% 0.108 108.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F5FBB

    #1F5FBB

    oklch(49.9% 0.159 258.4)

  • #AA2F3E

    #AA2F3E

    oklch(49.8% 0.158 18.5)

  • #2B7600

    #2B7600

    oklch(49.9% 0.156 138.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F5FBB

    #1F5FBB

    oklch(49.9% 0.159 258.4)

  • #9F3272

    #9F3272

    oklch(49.8% 0.158 348.2)

  • #835A00

    #835A00

    oklch(49.9% 0.104 77.9)

  • #007558

    #007558

    oklch(50% 0.101 168.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1F5FBB 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.