#1F62CC

Closest named color: Mid Blue (#276AB3). oklch(51.8% 0.178 259.7), rgb(31, 98, 204).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.178)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.67:1
White text5.71:1

Values

HEX#1F62CC
RGBrgb(31, 98, 204)
HSLhsl(217, 74%, 46%)
OKLCHoklch(51.8% 0.178 259.7)

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 #1F62CC 5.71:1 AA Lc -83.2 Fine for body text
Black text on #1F62CC 3.67:1 AA large text Lc 26.1 Dividers and decoration only
#1F62CC text on white 5.71:1 AA Lc 78.0 Fine for body text
#1F62CC text on black 3.67:1 AA large text Lc -23.8 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

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C7DAF9

    oklch(88.4% 0.048 260.2)

  4. Step 300

    300

    #A0C2F9

    oklch(80.9% 0.087 259.9)

  5. Step 400

    400

    #6CA0F6

    oklch(70.7% 0.138 260)

  6. Step 500

    500

    #4386F2

    oklch(63.2% 0.176 259.6)

  7. Step 600

    600

    #236CE0

    oklch(55.5% 0.191 259.8)

  8. Step 700

    700 (this color)

    #1F62CC

    oklch(51.8% 0.178 259.7)

  9. Step 800

    800

    #154A9E

    oklch(42.8% 0.148 259.8)

  10. Step 900

    900

    #183F7D

    oklch(37.7% 0.114 259.5)

  11. Step 950

    950

    #0F2549

    oklch(26.9% 0.073 259.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F62CC 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)#146FD00.033
Deuteranopia (no green cones)#005FCA0.015
Tritanopia (no blue cones)#007C8D0.136
Achromatopsia (no color)#6666660.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F62CC

    #1F62CC

    oklch(51.8% 0.178 259.7)

  • #886000

    #886000

    oklch(51.8% 0.107 80.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F62CC

    #1F62CC

    oklch(51.8% 0.178 259.7)

  • #007298

    #007298

    oklch(51.7% 0.103 230.3)

  • #6A4EC5

    #6A4EC5

    oklch(51.8% 0.177 289.6)

Open the analogous palette in the generator

Split complementary

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

  • #1F62CC

    #1F62CC

    oklch(51.8% 0.178 259.7)

  • #A44B00

    #A44B00

    oklch(51.8% 0.137 50)

  • #6D6D00

    #6D6D00

    oklch(51.8% 0.113 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F62CC

    #1F62CC

    oklch(51.8% 0.178 259.7)

  • #B82A3C

    #B82A3C

    oklch(51.8% 0.177 19.6)

  • #267D00

    #267D00

    oklch(51.7% 0.165 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F62CC

    #1F62CC

    oklch(51.8% 0.178 259.7)

  • #AD2D77

    #AD2D77

    oklch(51.8% 0.178 349.7)

  • #886000

    #886000

    oklch(51.8% 0.107 80.2)

  • #007B5F

    #007B5F

    oklch(51.8% 0.103 169.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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