#305CBE

Closest named color: Mid Blue (#276AB3). oklch(50% 0.162 263.5), rgb(48, 92, 190).

Aa

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

About this color

#305CBE is a medium-dark, vivid blue. In OKLCH its lightness is 50%, its chroma 0.162 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.043 away. White text reads best on it, at 6.17:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromavivid (0.162)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.40:1
White text6.17:1

Values

HEX#305CBE
RGBrgb(48, 92, 190)
HSLhsl(221, 60%, 47%)
OKLCHoklch(50% 0.162 263.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 #305CBE 6.17:1 AA Lc -85.5 Fine for body text
Black text on #305CBE 3.40:1 AA large text Lc 23.7 Dividers and decoration only
#305CBE text on white 6.17:1 AA Lc 80.4 Fine for body text
#305CBE text on black 3.40:1 AA large text Lc -21.5 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 700.

  1. Step 50

    50

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CADAF7

    oklch(88.5% 0.044 262.4)

  4. Step 300

    300

    #A7C1F4

    oklch(80.9% 0.078 263.6)

  5. Step 400

    400

    #779FEF

    oklch(70.7% 0.126 263.3)

  6. Step 500

    500

    #5585E9

    oklch(63.1% 0.159 263.3)

  7. Step 600

    600

    #3B6CD8

    oklch(55.7% 0.174 263.4)

  8. Step 700

    700 (this color)

    #305CBE

    oklch(50% 0.162 263.5)

  9. Step 800

    800

    #264A97

    oklch(42.8% 0.133 263.1)

  10. Step 900

    900

    #233E78

    oklch(37.6% 0.104 263.4)

  11. Step 950

    950

    #152546

    oklch(27% 0.065 263.2)

Export this scale for Tailwind in the Tailwind colors tool

#305CBE 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)#1C68C20.032
Deuteranopia (no green cones)#005BBC0.026
Tritanopia (no blue cones)#0074840.129
Achromatopsia (no color)#6161610.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #305CBE

    #305CBE

    oklch(50% 0.162 263.5)

  • #7F5D00

    #7F5D00

    oklch(50% 0.103 83.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305CBE

    #305CBE

    oklch(50% 0.162 263.5)

  • #006C95

    #006C95

    oklch(50% 0.104 233.6)

  • #6A4AB5

    #6A4AB5

    oklch(50% 0.162 293.4)

Open the analogous palette in the generator

Split complementary

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

  • #305CBE

    #305CBE

    oklch(50% 0.162 263.5)

  • #994B00

    #994B00

    oklch(50.1% 0.126 53.6)

  • #646900

    #646900

    oklch(49.9% 0.111 113)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305CBE

    #305CBE

    oklch(50% 0.162 263.5)

  • #AC2F33

    #AC2F33

    oklch(49.9% 0.161 23.6)

  • #077913

    #077913

    oklch(50.1% 0.162 143.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305CBE

    #305CBE

    oklch(50% 0.162 263.5)

  • #A42F6A

    #A42F6A

    oklch(50% 0.162 353.7)

  • #7F5D00

    #7F5D00

    oklch(50% 0.103 83.6)

  • #00755E

    #00755E

    oklch(50.1% 0.096 172.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #305CBE 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.