#0262C1

Closest named color: Mid Blue (#276AB3). oklch(50.5% 0.167 255.4), rgb(2, 98, 193).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (51%)
Chromavivid (0.167)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.51:1
White text5.96:1

Values

HEX#0262C1
RGBrgb(2, 98, 193)
HSLhsl(210, 98%, 38%)
OKLCHoklch(50.5% 0.167 255.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 #0262C1 5.96:1 AA Lc -84.3 Fine for body text
Black text on #0262C1 3.51:1 AA large text Lc 25.0 Dividers and decoration only
#0262C1 text on white 5.96:1 AA Lc 79.1 Fine for body text
#0262C1 text on black 3.51:1 AA large text Lc -22.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

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C6DBF7

    oklch(88.5% 0.045 255.6)

  4. Step 300

    300

    #9EC3F5

    oklch(80.8% 0.082 256.1)

  5. Step 400

    400

    #67A3F0

    oklch(70.7% 0.13 255.3)

  6. Step 500

    500

    #3A89EB

    oklch(63% 0.166 255.6)

  7. Step 600

    600

    #0C71D9

    oklch(55.7% 0.18 255.3)

  8. Step 700

    700 (this color)

    #0262C1

    oklch(50.5% 0.167 255.4)

  9. Step 800

    800

    #054D98

    oklch(42.7% 0.138 255.3)

  10. Step 900

    900

    #114179

    oklch(37.7% 0.108 255.2)

  11. Step 950

    950

    #0C2647

    oklch(26.9% 0.069 255.8)

Export this scale for Tailwind in the Tailwind colors tool

#0262C1 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)#266CC40.034
Deuteranopia (no green cones)#005CBF0.016
Tritanopia (no blue cones)#0079880.124
Achromatopsia (no color)#6363630.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #0262C1

    #0262C1

    oklch(50.5% 0.167 255.4)

  • #875A00

    #875A00

    oklch(50.4% 0.106 75.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0262C1

    #0262C1

    oklch(50.5% 0.167 255.4)

  • #006F8E

    #006F8E

    oklch(50.4% 0.096 225.7)

  • #5F4FBE

    #5F4FBE

    oklch(50.5% 0.167 285.3)

Open the analogous palette in the generator

Split complementary

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

  • #0262C1

    #0262C1

    oklch(50.5% 0.167 255.4)

  • #A44300

    #A44300

    oklch(50.6% 0.143 45.6)

  • #6E6700

    #6E6700

    oklch(50.4% 0.107 104.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0262C1

    #0262C1

    oklch(50.5% 0.167 255.4)

  • #AF2B44

    #AF2B44

    oklch(50.4% 0.167 15.2)

  • #3A7600

    #3A7600

    oklch(50.5% 0.148 135.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0262C1

    #0262C1

    oklch(50.5% 0.167 255.4)

  • #A23079

    #A23079

    oklch(50.4% 0.167 345.4)

  • #875A00

    #875A00

    oklch(50.4% 0.106 75.2)

  • #007756

    #007756

    oklch(50.5% 0.105 165.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0262C1 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.