#306CE3

Closest named color: Royal Blue (#4169E1). oklch(56.1% 0.192 262.1), rgb(48, 108, 227).

Aa

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

About this color

#306CE3 is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.192 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.015 away. White text reads best on it, at 4.79:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.192)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.37:1
White text4.79:1

Values

HEX#306CE3
RGBrgb(48, 108, 227)
HSLhsl(220, 76%, 54%)
OKLCHoklch(56.1% 0.192 262.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 #306CE3 4.79:1 AA Lc -78.2 Fine for body text
Black text on #306CE3 4.37:1 AA large text Lc 31.4 Non-text elements, placeholder text
#306CE3 text on white 4.79:1 AA Lc 72.7 Content text, not long reading
#306CE3 text on black 4.37: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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C8DAFA

    oklch(88.5% 0.048 262)

  4. Step 300

    300

    #A2C1F9

    oklch(80.8% 0.087 262)

  5. Step 400

    400

    #709FF6

    oklch(70.7% 0.138 261.9)

  6. Step 500

    500

    #4B84F3

    oklch(63.1% 0.177 262.1)

  7. Step 600

    600 (this color)

    #306CE3

    oklch(56.1% 0.192 262.1)

  8. Step 700

    700

    #2258C4

    oklch(49.2% 0.179 262.1)

  9. Step 800

    800

    #1D499E

    oklch(42.8% 0.147 261.8)

  10. Step 900

    900

    #1D3E7E

    oklch(37.8% 0.115 262)

  11. Step 950

    950

    #12254A

    oklch(27.1% 0.073 262.2)

Export this scale for Tailwind in the Tailwind colors tool

#306CE3 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)#0F7BE70.038
Deuteranopia (no green cones)#006AE10.022
Tritanopia (no blue cones)#00899D0.149
Achromatopsia (no color)#7272720.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #306CE3

    #306CE3

    oklch(56.1% 0.192 262.1)

  • #966D00

    #966D00

    oklch(56.1% 0.116 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #306CE3

    #306CE3

    oklch(56.1% 0.192 262.1)

  • #007FAC

    #007FAC

    oklch(56% 0.115 232.2)

  • #7B56D9

    #7B56D9

    oklch(56.1% 0.191 292.1)

Open the analogous palette in the generator

Split complementary

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

  • #306CE3

    #306CE3

    oklch(56.1% 0.192 262.1)

  • #B45700

    #B45700

    oklch(56.1% 0.144 52.2)

  • #777B00

    #777B00

    oklch(56.1% 0.124 112)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #306CE3

    #306CE3

    oklch(56.1% 0.192 262.1)

  • #CD313D

    #CD313D

    oklch(56.1% 0.192 22.2)

  • #0C8E00

    #0C8E00

    oklch(56.1% 0.189 142.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #306CE3

    #306CE3

    oklch(56.1% 0.192 262.1)

  • #C23380

    #C23380

    oklch(56.1% 0.192 352.2)

  • #966D00

    #966D00

    oklch(56.1% 0.116 82.4)

  • #00896D

    #00896D

    oklch(56.1% 0.109 171.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #306CE3 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.