#1F4FC7

Closest named color: Blue Blue (#2242C7). oklch(47.5% 0.194 263.9), rgb(31, 79, 199).

Aa

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

About this color

#1F4FC7 is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.194 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.029 away. White text reads best on it, at 6.99:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.194)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text3.00:1
White text6.99:1

Values

HEX#1F4FC7
RGBrgb(31, 79, 199)
HSLhsl(223, 73%, 45%)
OKLCHoklch(47.5% 0.194 263.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 #1F4FC7 6.99:1 AA Lc -88.5 Fine for body text
Black text on #1F4FC7 3.00:1 AA large text Lc 20.5 Dividers and decoration only
#1F4FC7 text on white 6.99:1 AA Lc 83.5 Fine for body text
#1F4FC7 text on black 3.00:1 AA large text Lc -18.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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFD

    oklch(93.6% 0.028 265.4)

  3. Step 200

    200

    #C8DAFD

    oklch(88.6% 0.052 263.7)

  4. Step 300

    300

    #A2C0FE

    oklch(80.8% 0.094 264.4)

  5. Step 400

    400

    #709DFE

    oklch(70.7% 0.151 264.1)

  6. Step 500

    500

    #4B81FC

    oklch(63.1% 0.192 263.9)

  7. Step 600

    600

    #3067EB

    oklch(55.7% 0.208 263.8)

  8. Step 700

    700 (this color)

    #1F4FC7

    oklch(47.5% 0.194 263.9)

  9. Step 800

    800

    #1E46A5

    oklch(42.7% 0.16 263.7)

  10. Step 900

    900

    #1D3C83

    oklch(37.7% 0.125 263.7)

  11. Step 950

    950

    #12244D

    oklch(27.1% 0.079 264)

Export this scale for Tailwind in the Tailwind colors tool

#1F4FC7 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)#0061CB0.043
Deuteranopia (no green cones)#0052C50.014
Tritanopia (no blue cones)#006E830.150
Achromatopsia (no color)#5959590.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4FC7

    #1F4FC7

    oklch(47.5% 0.194 263.9)

  • #765600

    #765600

    oklch(47.4% 0.097 83.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4FC7

    #1F4FC7

    oklch(47.5% 0.194 263.9)

  • #00648B

    #00648B

    oklch(47.4% 0.099 234.1)

  • #6738BC

    #6738BC

    oklch(47.6% 0.194 294)

Open the analogous palette in the generator

Split complementary

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

  • #1F4FC7

    #1F4FC7

    oklch(47.5% 0.194 263.9)

  • #8E4600

    #8E4600

    oklch(47.6% 0.119 54.2)

  • #5C6200

    #5C6200

    oklch(47.5% 0.107 113.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4FC7

    #1F4FC7

    oklch(47.5% 0.194 263.9)

  • #AF001F

    #AF001F

    oklch(47.5% 0.192 23.8)

  • #007112

    #007112

    oklch(47.6% 0.155 143.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4FC7

    #1F4FC7

    oklch(47.5% 0.194 263.9)

  • #A60364

    #A60364

    oklch(47.6% 0.194 353.8)

  • #765600

    #765600

    oklch(47.4% 0.097 83.5)

  • #006C58

    #006C58

    oklch(47.4% 0.09 174)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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