#0270DC

Closest named color: Cerulean Blue (#056EEE). oklch(55.6% 0.186 255.5), rgb(2, 112, 220).

Aa

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

About this color

#0270DC is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.186 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.028 away. White text reads best on it, at 4.82:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.186)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.35:1
White text4.82:1

Values

HEX#0270DC
RGBrgb(2, 112, 220)
HSLhsl(210, 98%, 44%)
OKLCHoklch(55.6% 0.186 255.5)

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 #0270DC 4.82:1 AA Lc -78.1 Fine for body text
Black text on #0270DC 4.35:1 AA large text Lc 31.4 Non-text elements, placeholder text
#0270DC text on white 4.82:1 AA Lc 72.7 Content text, not long reading
#0270DC text on black 4.35:1 AA large text Lc -29.0 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C5DBF8

    oklch(88.4% 0.047 255.4)

  4. Step 300

    300

    #9DC3F6

    oklch(80.8% 0.083 255.9)

  5. Step 400

    400

    #65A3F2

    oklch(70.8% 0.133 255.2)

  6. Step 500

    500

    #3789EE

    oklch(63.1% 0.171 255.6)

  7. Step 600

    600 (this color)

    #0270DC

    oklch(55.6% 0.186 255.5)

  8. Step 700

    700

    #005EBB

    oklch(49.1% 0.165 255.5)

  9. Step 800

    800

    #004D9A

    oklch(42.7% 0.142 255.2)

  10. Step 900

    900

    #0F417B

    oklch(37.8% 0.111 255.3)

  11. Step 950

    950

    #0B2648

    oklch(26.9% 0.071 255.8)

Export this scale for Tailwind in the Tailwind colors tool

#0270DC 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)#2B7BE00.036
Deuteranopia (no green cones)#006ADA0.016
Tritanopia (no blue cones)#008B9B0.140
Achromatopsia (no color)#7272720.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #0270DC

    #0270DC

    oklch(55.6% 0.186 255.5)

  • #9A6800

    #9A6800

    oklch(55.6% 0.117 75.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0270DC

    #0270DC

    oklch(55.6% 0.186 255.5)

  • #007FA2

    #007FA2

    oklch(55.5% 0.106 225.7)

  • #6D5BD9

    #6D5BD9

    oklch(55.6% 0.185 285.2)

Open the analogous palette in the generator

Split complementary

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

  • #0270DC

    #0270DC

    oklch(55.6% 0.186 255.5)

  • #BA4D00

    #BA4D00

    oklch(55.5% 0.157 45.6)

  • #7D7600

    #7D7600

    oklch(55.4% 0.118 105.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0270DC

    #0270DC

    oklch(55.6% 0.186 255.5)

  • #C8324E

    #C8324E

    oklch(55.6% 0.185 15.5)

  • #428700

    #428700

    oklch(55.6% 0.164 135.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0270DC

    #0270DC

    oklch(55.6% 0.186 255.5)

  • #B9388B

    #B9388B

    oklch(55.6% 0.185 345.3)

  • #9A6800

    #9A6800

    oklch(55.6% 0.117 75.8)

  • #008863

    #008863

    oklch(55.6% 0.116 165.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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