#34799A

Closest named color: Cerulean (#457B9D). oklch(54.6% 0.086 232.1), rgb(52, 121, 154).

Aa

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

About this color

#34799A is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.086 and its hue 232°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean (#457B9D), ΔE 0.018 away. White text reads best on it, at 4.83:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameCerulean (#457B9D)
Black text4.34:1
White text4.83:1

Values

HEX#34799A
RGBrgb(52, 121, 154)
HSLhsl(199, 50%, 40%)
OKLCHoklch(54.6% 0.086 232.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 #34799A 4.83:1 AA Lc -78.7 Fine for body text
Black text on #34799A 4.34:1 AA large text Lc 30.8 Non-text elements, placeholder text
#34799A text on white 4.83:1 AA Lc 73.3 Content text, not long reading
#34799A text on black 4.34:1 AA large text Lc -28.4 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 600.

  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

    #A9C6D6

    oklch(81% 0.039 232)

  5. Step 400

    400

    #79A8C1

    oklch(70.7% 0.062 232)

  6. Step 500

    500

    #5592B1

    oklch(63.1% 0.079 232)

  7. Step 600

    600 (this color)

    #34799A

    oklch(54.6% 0.086 232.1)

  8. Step 700

    700

    #296886

    oklch(49% 0.08 232.4)

  9. Step 800

    800

    #23556D

    oklch(42.6% 0.066 232.1)

  10. Step 900

    900

    #224658

    oklch(37.6% 0.052 232.2)

  11. Step 950

    950

    #152934

    oklch(26.9% 0.033 233.9)

Export this scale for Tailwind in the Tailwind colors tool

#34799A 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)#69789C0.058
Deuteranopia (no green cones)#5B6D9A0.050
Tritanopia (no blue cones)#0082840.055
Achromatopsia (no color)#7272720.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #34799A

    #34799A

    oklch(54.6% 0.086 232.1)

  • #98623F

    #98623F

    oklch(54.7% 0.086 53)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34799A

    #34799A

    oklch(54.6% 0.086 232.1)

  • #1C7F86

    #1C7F86

    oklch(54.6% 0.086 202.2)

  • #5570A3

    #5570A3

    oklch(54.6% 0.086 262.5)

Open the analogous palette in the generator

Split complementary

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

  • #34799A

    #34799A

    oklch(54.6% 0.086 232.1)

  • #9D5C5A

    #9D5C5A

    oklch(54.8% 0.086 22.1)

  • #896B30

    #896B30

    oklch(54.5% 0.086 82.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34799A

    #34799A

    oklch(54.6% 0.086 232.1)

  • #975B76

    #975B76

    oklch(54.7% 0.086 351.8)

  • #727637

    #727637

    oklch(54.8% 0.086 112.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34799A

    #34799A

    oklch(54.6% 0.086 232.1)

  • #885F8E

    #885F8E

    oklch(54.6% 0.086 322.2)

  • #98623F

    #98623F

    oklch(54.7% 0.086 53)

  • #527D4E

    #527D4E

    oklch(54.5% 0.086 142.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34799A 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.