#304768

Closest named color: Dark Grey Blue (#29465B). oklch(39.5% 0.063 257.4), rgb(48, 71, 104).

Aa

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

About this color

#304768 is a dark, muted blue. In OKLCH its lightness is 39%, its chroma 0.063 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.025 away. White text reads best on it, at 9.43:1.

Hue familyBlues
Lightnessdark (39%)
Chromamuted (0.063)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.22:1
White text9.43:1

Values

HEX#304768
RGBrgb(48, 71, 104)
HSLhsl(215, 37%, 30%)
OKLCHoklch(39.5% 0.063 257.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 #304768 9.43:1 AAA Lc -96.0 Preferred for body text
Black text on #304768 2.22:1 Fails Lc 12.2 Not readable
#304768 text on white 9.43:1 AAA Lc 91.7 Preferred for body text
#304768 text on black 2.22:1 Fails Lc -10.7 Not readable

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 900.

  1. Step 50

    50

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF3

    oklch(93.5% 0.014 258.3)

  3. Step 200

    200

    #CEDAEB

    oklch(88.4% 0.027 257)

  4. Step 300

    300

    #AEC2E0

    oklch(80.9% 0.048 258.4)

  5. Step 400

    400

    #83A2D0

    oklch(70.6% 0.076 258.1)

  6. Step 500

    500

    #638BC4

    oklch(63.1% 0.097 257.3)

  7. Step 600

    600

    #4A74B0

    oklch(55.6% 0.105 257.4)

  8. Step 700

    700

    #3B6198

    oklch(49.1% 0.099 257.6)

  9. Step 800

    800

    #31507B

    oklch(42.8% 0.081 256.8)

  10. Step 900

    900 (this color)

    #304768

    oklch(39.5% 0.063 257.4)

  11. Step 950

    950

    #1A273A

    oklch(27% 0.04 257.8)

Export this scale for Tailwind in the Tailwind colors tool

#304768 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)#3A49690.016
Deuteranopia (no green cones)#3344670.009
Tritanopia (no blue cones)#154E530.055
Achromatopsia (no color)#4646460.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #304768

    #304768

    oklch(39.5% 0.063 257.4)

  • #59421B

    #59421B

    oklch(39.6% 0.063 78.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304768

    #304768

    oklch(39.5% 0.063 257.4)

  • #194D61

    #194D61

    oklch(39.5% 0.063 227.4)

  • #444166

    #444166

    oklch(39.5% 0.062 286.9)

Open the analogous palette in the generator

Split complementary

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

  • #304768

    #304768

    oklch(39.5% 0.063 257.4)

  • #623B27

    #623B27

    oklch(39.4% 0.064 47.4)

  • #4A491D

    #4A491D

    oklch(39.6% 0.064 107.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304768

    #304768

    oklch(39.5% 0.063 257.4)

  • #64383A

    #64383A

    oklch(39.6% 0.063 17.4)

  • #354E2C

    #354E2C

    oklch(39.4% 0.063 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304768

    #304768

    oklch(39.5% 0.063 257.4)

  • #5F384D

    #5F384D

    oklch(39.5% 0.063 346.9)

  • #59421B

    #59421B

    oklch(39.6% 0.063 78.3)

  • #1D513F

    #1D513F

    oklch(39.4% 0.064 167.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #304768 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.