#306D95

Closest named color: Ocean Blue (#03719C). oklch(51.3% 0.089 240.4), rgb(48, 109, 149).

Aa

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

About this color

#306D95 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 51%, its chroma 0.089 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.022 away. White text reads best on it, at 5.60:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.089)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text3.74:1
White text5.60:1

Values

HEX#306D95
RGBrgb(48, 109, 149)
HSLhsl(204, 51%, 39%)
OKLCHoklch(51.3% 0.089 240.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 #306D95 5.60:1 AA Lc -83.1 Fine for body text
Black text on #306D95 3.74:1 AA large text Lc 26.3 Dividers and decoration only
#306D95 text on white 5.60:1 AA Lc 77.8 Fine for body text
#306D95 text on black 3.74:1 AA large text Lc -24.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 700.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF2

    oklch(93.6% 0.013 244.3)

  3. Step 200

    200

    #CCDCE8

    oklch(88.6% 0.024 240.1)

  4. Step 300

    300

    #A8C5DA

    oklch(80.9% 0.043 239.6)

  5. Step 400

    400

    #79A7C8

    oklch(70.8% 0.069 240.2)

  6. Step 500

    500

    #5590BA

    oklch(63% 0.089 241.1)

  7. Step 600

    600

    #377AA6

    oklch(55.6% 0.096 240.4)

  8. Step 700

    700 (this color)

    #306D95

    oklch(51.3% 0.089 240.4)

  9. Step 800

    800

    #245473

    oklch(42.7% 0.073 239.9)

  10. Step 900

    900

    #22455D

    oklch(37.6% 0.058 240.6)

  11. Step 950

    950

    #152937

    oklch(27.1% 0.037 240.5)

Export this scale for Tailwind in the Tailwind colors tool

#306D95 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)#5B6D970.047
Deuteranopia (no green cones)#4D63940.038
Tritanopia (no blue cones)#00777B0.063
Achromatopsia (no color)#6868680.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #306D95

    #306D95

    oklch(51.3% 0.089 240.4)

  • #8C5A2D

    #8C5A2D

    oklch(51.4% 0.089 60.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #306D95

    #306D95

    oklch(51.3% 0.089 240.4)

  • #007483

    #007483

    oklch(51.2% 0.089 210.4)

  • #53649A

    #53649A

    oklch(51.3% 0.088 269.8)

Open the analogous palette in the generator

Split complementary

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

  • #306D95

    #306D95

    oklch(51.3% 0.089 240.4)

  • #935247

    #935247

    oklch(51.2% 0.089 30.6)

  • #7A6421

    #7A6421

    oklch(51.2% 0.089 90.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #306D95

    #306D95

    oklch(51.3% 0.089 240.4)

  • #905064

    #905064

    oklch(51.3% 0.089 0.7)

  • #606E2F

    #606E2F

    oklch(51.2% 0.089 120.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #306D95

    #306D95

    oklch(51.3% 0.089 240.4)

  • #84537F

    #84537F

    oklch(51.3% 0.09 330.5)

  • #8C5A2D

    #8C5A2D

    oklch(51.4% 0.089 60.6)

  • #3D754B

    #3D754B

    oklch(51.2% 0.089 150.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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