#334F7B

Closest named color: Light Navy (#155084). oklch(42.7% 0.081 259.1), rgb(51, 79, 123).

Aa

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

About this color

#334F7B is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.081 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.028 away. White text reads best on it, at 8.25:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.54:1
White text8.25:1

Values

HEX#334F7B
RGBrgb(51, 79, 123)
HSLhsl(217, 41%, 34%)
OKLCHoklch(42.7% 0.081 259.1)

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 #334F7B 8.25:1 AAA Lc -93.0 Preferred for body text
Black text on #334F7B 2.54:1 Fails Lc 15.6 Dividers and decoration only
#334F7B text on white 8.25:1 AAA Lc 88.4 Fine for body text
#334F7B text on black 2.54:1 Fails Lc -13.8 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 800.

  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

    #CFDAEB

    oklch(88.5% 0.026 259)

  4. Step 300

    300

    #AFC2E0

    oklch(80.9% 0.047 259.5)

  5. Step 400

    400

    #84A2D0

    oklch(70.7% 0.076 258.8)

  6. Step 500

    500

    #658AC4

    oklch(63% 0.097 259.1)

  7. Step 600

    600

    #4D73B0

    oklch(55.5% 0.105 259.5)

  8. Step 700

    700

    #3E6198

    oklch(49.2% 0.098 259.1)

  9. Step 800

    800 (this color)

    #334F7B

    oklch(42.7% 0.081 259.1)

  10. Step 900

    900

    #2D4263

    oklch(37.7% 0.063 259.2)

  11. Step 950

    950

    #1A273A

    oklch(27% 0.04 257.8)

Export this scale for Tailwind in the Tailwind colors tool

#334F7B 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)#3D527D0.017
Deuteranopia (no green cones)#344B7A0.012
Tritanopia (no blue cones)#01595F0.073
Achromatopsia (no color)#4F4F4F0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #334F7B

    #334F7B

    oklch(42.7% 0.081 259.1)

  • #66490F

    #66490F

    oklch(42.6% 0.081 79.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #334F7B

    #334F7B

    oklch(42.7% 0.081 259.1)

  • #095772

    #095772

    oklch(42.8% 0.081 228.6)

  • #4E4778

    #4E4778

    oklch(42.7% 0.08 289.1)

Open the analogous palette in the generator

Split complementary

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

  • #334F7B

    #334F7B

    oklch(42.7% 0.081 259.1)

  • #724024

    #724024

    oklch(42.6% 0.081 48.7)

  • #535215

    #535215

    oklch(42.7% 0.08 108.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #334F7B

    #334F7B

    oklch(42.7% 0.081 259.1)

  • #753B3D

    #753B3D

    oklch(42.7% 0.081 18.9)

  • #37592D

    #37592D

    oklch(42.6% 0.08 138.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #334F7B

    #334F7B

    oklch(42.7% 0.081 259.1)

  • #6F3B56

    #6F3B56

    oklch(42.6% 0.081 348.7)

  • #66490F

    #66490F

    oklch(42.6% 0.081 79.7)

  • #0C5D47

    #0C5D47

    oklch(42.7% 0.081 168.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #334F7B 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.