#0270C5

Closest named color: Mid Blue (#276AB3). oklch(54% 0.156 251.1), rgb(2, 112, 197).

Aa

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

About this color

#0270C5 is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.156 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.031 away. White text reads best on it, at 5.08:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.156)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text4.12:1
White text5.08:1

Values

HEX#0270C5
RGBrgb(2, 112, 197)
HSLhsl(206, 98%, 39%)
OKLCHoklch(54% 0.156 251.1)

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 #0270C5 5.08:1 AA Lc -79.8 Fine for body text
Black text on #0270C5 4.12:1 AA large text Lc 29.7 Dividers and decoration only
#0270C5 text on white 5.08:1 AA Lc 74.4 Content text, not long reading
#0270C5 text on black 4.12:1 AA large text Lc -27.3 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

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C7DCF3

    oklch(88.6% 0.039 250.7)

  4. Step 300

    300

    #9FC4ED

    oklch(80.8% 0.071 251.3)

  5. Step 400

    400

    #69A5E4

    oklch(70.7% 0.112 250.8)

  6. Step 500

    500

    #3C8DDD

    oklch(63.2% 0.144 251)

  7. Step 600

    600 (this color)

    #0270C5

    oklch(54% 0.156 251.1)

  8. Step 700

    700

    #0062AE

    oklch(49.1% 0.143 251.1)

  9. Step 800

    800

    #06508E

    oklch(42.7% 0.121 251.2)

  10. Step 900

    900

    #134371

    oklch(37.7% 0.094 251.1)

  11. Step 950

    950

    #0D2842

    oklch(27.1% 0.059 250.2)

Export this scale for Tailwind in the Tailwind colors tool

#0270C5 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)#4377C80.043
Deuteranopia (no green cones)#1D67C30.024
Tritanopia (no blue cones)#0085910.114
Achromatopsia (no color)#6E6E6E0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #0270C5

    #0270C5

    oklch(54% 0.156 251.1)

  • #986100

    #986100

    oklch(54% 0.116 71.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0270C5

    #0270C5

    oklch(54% 0.156 251.1)

  • #007B97

    #007B97

    oklch(54% 0.099 221.1)

  • #615EC6

    #615EC6

    oklch(53.9% 0.157 281)

Open the analogous palette in the generator

Split complementary

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

  • #0270C5

    #0270C5

    oklch(54% 0.156 251.1)

  • #B64612

    #B64612

    oklch(54% 0.157 41.1)

  • #7D7000

    #7D7000

    oklch(54% 0.113 101.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0270C5

    #0270C5

    oklch(54% 0.156 251.1)

  • #B63D58

    #B63D58

    oklch(53.9% 0.157 10.7)

  • #4E7F00

    #4E7F00

    oklch(54% 0.148 131.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0270C5

    #0270C5

    oklch(54% 0.156 251.1)

  • #A74289

    #A74289

    oklch(53.9% 0.156 340.9)

  • #986100

    #986100

    oklch(54% 0.116 71.1)

  • #008357

    #008357

    oklch(53.9% 0.12 161.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0270C5 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.