#306A8F

Closest named color: Denim (#3B638C). oklch(50.2% 0.084 239.5), rgb(48, 106, 143).

Aa

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

About this color

#306A8F is a medium-dark, moderately saturated blue. In OKLCH its lightness is 50%, its chroma 0.084 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.021 away. White text reads best on it, at 5.85:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.58:1
White text5.85:1

Values

HEX#306A8F
RGBrgb(48, 106, 143)
HSLhsl(203, 50%, 37%)
OKLCHoklch(50.2% 0.084 239.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 #306A8F 5.85:1 AA Lc -84.3 Fine for body text
Black text on #306A8F 3.58:1 AA large text Lc 25.0 Dividers and decoration only
#306A8F text on white 5.85:1 AA Lc 79.1 Fine for body text
#306A8F text on black 3.58:1 AA large text Lc -22.7 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF1

    oklch(93.6% 0.012 239.9)

  3. Step 200

    200

    #CCDCE7

    oklch(88.6% 0.023 237.7)

  4. Step 300

    300

    #A9C5D9

    oklch(80.9% 0.041 239.1)

  5. Step 400

    400

    #7BA7C5

    oklch(70.8% 0.065 238.7)

  6. Step 500

    500

    #5790B7

    oklch(63% 0.084 239.9)

  7. Step 600

    600

    #3B7AA3

    oklch(55.6% 0.091 239.8)

  8. Step 700

    700 (this color)

    #306A8F

    oklch(50.2% 0.084 239.5)

  9. Step 800

    800

    #265471

    oklch(42.7% 0.07 239)

  10. Step 900

    900

    #24455C

    oklch(37.6% 0.055 240.8)

  11. Step 950

    950

    #162936

    oklch(27.1% 0.035 239.7)

Export this scale for Tailwind in the Tailwind colors tool

#306A8F 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)#596A910.046
Deuteranopia (no green cones)#4C608E0.038
Tritanopia (no blue cones)#0073770.059
Achromatopsia (no color)#6565650.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #306A8F

    #306A8F

    oklch(50.2% 0.084 239.5)

  • #87572F

    #87572F

    oklch(50.1% 0.084 58.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #306A8F

    #306A8F

    oklch(50.2% 0.084 239.5)

  • #0A717E

    #0A717E

    oklch(50.3% 0.085 209)

  • #516194

    #516194

    oklch(50.2% 0.084 269.9)

Open the analogous palette in the generator

Split complementary

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

  • #306A8F

    #306A8F

    oklch(50.2% 0.084 239.5)

  • #8E5047

    #8E5047

    oklch(50.2% 0.085 29.2)

  • #776123

    #776123

    oklch(50.2% 0.084 89.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #306A8F

    #306A8F

    oklch(50.2% 0.084 239.5)

  • #8B4E62

    #8B4E62

    oklch(50.2% 0.085 359.6)

  • #5E6B30

    #5E6B30

    oklch(50.3% 0.084 119.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #306A8F

    #306A8F

    oklch(50.2% 0.084 239.5)

  • #7F527B

    #7F527B

    oklch(50.3% 0.084 329.9)

  • #87572F

    #87572F

    oklch(50.1% 0.084 58.9)

  • #3E7149

    #3E7149

    oklch(50.1% 0.084 149.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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