#1273E8

Closest named color: Cerulean Blue (#056EEE). oklch(57.3% 0.196 257.2), rgb(18, 115, 232).

Aa

Black text reads best on this color (4.64:1).

About this color

#1273E8 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.196 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.017 away. Black text reads best on it, at 4.64:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.196)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.64:1
White text4.52:1

Values

HEX#1273E8
RGBrgb(18, 115, 232)
HSLhsl(213, 86%, 49%)
OKLCHoklch(57.3% 0.196 257.2)

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 #1273E8 4.52:1 AA Lc -76.1 Fine for body text
Black text on #1273E8 4.64:1 AA Lc 33.4 Non-text elements, placeholder text
#1273E8 text on white 4.52:1 AA Lc 70.7 Content text, not long reading
#1273E8 text on black 4.64:1 AA Lc -31.0 Non-text elements, placeholder text

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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C5DBFA

    oklch(88.5% 0.049 256.9)

  4. Step 300

    300

    #9DC3FA

    oklch(81% 0.088 257.6)

  5. Step 400

    400

    #65A2F7

    oklch(70.8% 0.14 256.9)

  6. Step 500

    500

    #3787F3

    oklch(63% 0.18 257.1)

  7. Step 600

    600 (this color)

    #1273E8

    oklch(57.3% 0.196 257.2)

  8. Step 700

    700

    #005CC1

    oklch(49.2% 0.175 257.1)

  9. Step 800

    800

    #034B9F

    oklch(42.7% 0.151 257.2)

  10. Step 900

    900

    #10407E

    oklch(37.8% 0.117 257)

  11. Step 950

    950

    #0B264A

    oklch(27.1% 0.074 256.8)

Export this scale for Tailwind in the Tailwind colors tool

#1273E8 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)#2280EC0.036
Deuteranopia (no green cones)#006EE60.015
Tritanopia (no blue cones)#0090A30.147
Achromatopsia (no color)#7676760.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #1273E8

    #1273E8

    oklch(57.3% 0.196 257.2)

  • #9F6D00

    #9F6D00

    oklch(57.2% 0.12 77)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1273E8

    #1273E8

    oklch(57.3% 0.196 257.2)

  • #0084AB

    #0084AB

    oklch(57.2% 0.111 227.6)

  • #765CE3

    #765CE3

    oklch(57.3% 0.196 287.4)

Open the analogous palette in the generator

Split complementary

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

  • #1273E8

    #1273E8

    oklch(57.3% 0.196 257.2)

  • #BF5300

    #BF5300

    oklch(57.2% 0.158 47.3)

  • #817C00

    #817C00

    oklch(57.2% 0.123 106.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1273E8

    #1273E8

    oklch(57.3% 0.196 257.2)

  • #D2314C

    #D2314C

    oklch(57.2% 0.196 17.2)

  • #3D8E00

    #3D8E00

    oklch(57.3% 0.174 137.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1273E8

    #1273E8

    oklch(57.3% 0.196 257.2)

  • #C4378E

    #C4378E

    oklch(57.4% 0.196 347.2)

  • #9F6D00

    #9F6D00

    oklch(57.2% 0.12 77)

  • #008E6A

    #008E6A

    oklch(57.4% 0.117 167.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #1273E8.

Similar named colors

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

Use #1273E8 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.