#306A8A

Closest named color: Denim (#3B638C). oklch(50% 0.079 235.6), rgb(48, 106, 138).

Aa

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

About this color

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

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

Values

HEX#306A8A
RGBrgb(48, 106, 138)
HSLhsl(201, 48%, 36%)
OKLCHoklch(50% 0.079 235.6)

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 #306A8A 5.90:1 AA Lc -84.6 Fine for body text
Black text on #306A8A 3.55:1 AA large text Lc 24.7 Dividers and decoration only
#306A8A text on white 5.90:1 AA Lc 79.3 Fine for body text
#306A8A text on black 3.55:1 AA large text Lc -22.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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CCDCE5

    oklch(88.5% 0.021 232.2)

  4. Step 300

    300

    #AAC5D6

    oklch(80.9% 0.038 235.6)

  5. Step 400

    400

    #7BA7C2

    oklch(70.6% 0.062 235.7)

  6. Step 500

    500

    #5891B2

    oklch(63% 0.078 235.3)

  7. Step 600

    600

    #3C7B9E

    oklch(55.6% 0.085 235.4)

  8. Step 700

    700 (this color)

    #306A8A

    oklch(50% 0.079 235.6)

  9. Step 800

    800

    #27546E

    oklch(42.6% 0.066 236.5)

  10. Step 900

    900

    #254659

    oklch(37.8% 0.051 235.5)

  11. Step 950

    950

    #162934

    oklch(27% 0.032 235.1)

Export this scale for Tailwind in the Tailwind colors tool

#306A8A 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)#5B698C0.049
Deuteranopia (no green cones)#4E60890.041
Tritanopia (no blue cones)#0072750.053
Achromatopsia (no color)#6464640.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #306A8A

    #306A8A

    oklch(50% 0.079 235.6)

  • #865735

    #865735

    oklch(50.1% 0.079 55.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #306A8A

    #306A8A

    oklch(50% 0.079 235.6)

  • #177079

    #177079

    oklch(50% 0.079 205.4)

  • #4D6291

    #4D6291

    oklch(50% 0.08 265.3)

Open the analogous palette in the generator

Split complementary

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

  • #306A8A

    #306A8A

    oklch(50% 0.079 235.6)

  • #8B514C

    #8B514C

    oklch(50.1% 0.079 25.5)

  • #786029

    #786029

    oklch(50.1% 0.079 85.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #306A8A

    #306A8A

    oklch(50% 0.079 235.6)

  • #875065

    #875065

    oklch(50.1% 0.078 355.9)

  • #616931

    #616931

    oklch(50.1% 0.079 116.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #306A8A

    #306A8A

    oklch(50% 0.079 235.6)

  • #7A537C

    #7A537C

    oklch(50% 0.079 325)

  • #865735

    #865735

    oklch(50.1% 0.079 55.7)

  • #456F47

    #456F47

    oklch(49.9% 0.078 145.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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