#1274E4

Closest named color: Cerulean Blue (#056EEE). oklch(57.2% 0.189 256.4), rgb(18, 116, 228).

Aa

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

About this color

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

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

Values

HEX#1274E4
RGBrgb(18, 116, 228)
HSLhsl(212, 85%, 48%)
OKLCHoklch(57.2% 0.189 256.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 #1274E4 4.52:1 AA Lc -76.2 Fine for body text
Black text on #1274E4 4.64:1 AA Lc 33.4 Non-text elements, placeholder text
#1274E4 text on white 4.52:1 AA Lc 70.7 Content text, not long reading
#1274E4 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C5DBF9

    oklch(88.5% 0.048 256.2)

  4. Step 300

    300

    #9DC3F8

    oklch(80.9% 0.086 256.8)

  5. Step 400

    400

    #66A2F4

    oklch(70.7% 0.136 256.5)

  6. Step 500

    500

    #3888F0

    oklch(63.1% 0.174 256.5)

  7. Step 600

    600 (this color)

    #1274E4

    oklch(57.2% 0.189 256.4)

  8. Step 700

    700

    #005DBE

    oklch(49.2% 0.17 256.3)

  9. Step 800

    800

    #034C9C

    oklch(42.7% 0.145 256.3)

  10. Step 900

    900

    #10407C

    oklch(37.6% 0.114 256.4)

  11. Step 950

    950

    #0C2649

    oklch(27% 0.072 256.9)

Export this scale for Tailwind in the Tailwind colors tool

#1274E4 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)#2D80E80.036
Deuteranopia (no green cones)#006EE20.017
Tritanopia (no blue cones)#008FA10.142
Achromatopsia (no color)#7676760.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #1274E4

    #1274E4

    oklch(57.2% 0.189 256.4)

  • #9F6C00

    #9F6C00

    oklch(57% 0.12 76.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1274E4

    #1274E4

    oklch(57.2% 0.189 256.4)

  • #0084A9

    #0084A9

    oklch(57.1% 0.11 226.2)

  • #745EE0

    #745EE0

    oklch(57.2% 0.19 286.5)

Open the analogous palette in the generator

Split complementary

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

  • #1274E4

    #1274E4

    oklch(57.2% 0.189 256.4)

  • #C05200

    #C05200

    oklch(57.2% 0.159 46.6)

  • #817C00

    #817C00

    oklch(57.2% 0.123 106.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1274E4

    #1274E4

    oklch(57.2% 0.189 256.4)

  • #CF354F

    #CF354F

    oklch(57.1% 0.189 16.4)

  • #418D00

    #418D00

    oklch(57.2% 0.171 136.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1274E4

    #1274E4

    oklch(57.2% 0.189 256.4)

  • #C13A8E

    #C13A8E

    oklch(57.2% 0.19 346.5)

  • #9F6C00

    #9F6C00

    oklch(57% 0.12 76.2)

  • #008D68

    #008D68

    oklch(57.1% 0.118 166.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1274E4 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.