#1F6FCF

Closest named color: Royal Blue (#4169E1). oklch(54.8% 0.166 256), rgb(31, 111, 207).

Aa

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

About this color

#1F6FCF is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.166 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.041 away. White text reads best on it, at 4.96:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.166)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.23:1
White text4.96:1

Values

HEX#1F6FCF
RGBrgb(31, 111, 207)
HSLhsl(213, 74%, 47%)
OKLCHoklch(54.8% 0.166 256)

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 #1F6FCF 4.96:1 AA Lc -79.2 Fine for body text
Black text on #1F6FCF 4.23:1 AA large text Lc 30.3 Non-text elements, placeholder text
#1F6FCF text on white 4.96:1 AA Lc 73.8 Content text, not long reading
#1F6FCF text on black 4.23:1 AA large text Lc -27.9 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C8DBF5

    oklch(88.5% 0.041 256.2)

  4. Step 300

    300

    #A1C3F1

    oklch(80.8% 0.075 256.1)

  5. Step 400

    400

    #6DA3EA

    oklch(70.7% 0.119 255.7)

  6. Step 500

    500

    #448AE4

    oklch(63.2% 0.153 255.8)

  7. Step 600

    600 (this color)

    #1F6FCF

    oklch(54.8% 0.166 256)

  8. Step 700

    700

    #145EB6

    oklch(49% 0.156 256.3)

  9. Step 800

    800

    #144E93

    oklch(42.8% 0.128 255.7)

  10. Step 900

    900

    #184175

    oklch(37.6% 0.1 256)

  11. Step 950

    950

    #102745

    oklch(27.2% 0.063 256)

Export this scale for Tailwind in the Tailwind colors tool

#1F6FCF 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)#3978D30.033
Deuteranopia (no green cones)#0069CD0.021
Tritanopia (no blue cones)#0086950.125
Achromatopsia (no color)#7070700.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F6FCF

    #1F6FCF

    oklch(54.8% 0.166 256)

  • #976600

    #976600

    oklch(54.8% 0.115 75.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F6FCF

    #1F6FCF

    oklch(54.8% 0.166 256)

  • #007D9F

    #007D9F

    oklch(54.9% 0.104 225.4)

  • #6C5CCC

    #6C5CCC

    oklch(54.8% 0.167 286)

Open the analogous palette in the generator

Split complementary

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

  • #1F6FCF

    #1F6FCF

    oklch(54.8% 0.166 256)

  • #B64C00

    #B64C00

    oklch(54.8% 0.154 45.9)

  • #7B7400

    #7B7400

    oklch(54.8% 0.116 105.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F6FCF

    #1F6FCF

    oklch(54.8% 0.166 256)

  • #BE3B4F

    #BE3B4F

    oklch(54.8% 0.167 15.9)

  • #3F8500

    #3F8500

    oklch(54.9% 0.163 136)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F6FCF

    #1F6FCF

    oklch(54.8% 0.166 256)

  • #B13F85

    #B13F85

    oklch(54.8% 0.166 346.1)

  • #976600

    #976600

    oklch(54.8% 0.115 75.9)

  • #008561

    #008561

    oklch(54.7% 0.114 165.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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