#34498C

Closest named color: Cobalt (#1E488F). oklch(42.5% 0.114 268.2), rgb(52, 73, 140).

Aa

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

About this color

#34498C is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.114 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.024 away. White text reads best on it, at 8.47:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.47:1
White text8.47:1

Values

HEX#34498C
RGBrgb(52, 73, 140)
HSLhsl(226, 46%, 38%)
OKLCHoklch(42.5% 0.114 268.2)

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 #34498C 8.47:1 AAA Lc -93.5 Preferred for body text
Black text on #34498C 2.47:1 Fails Lc 15.0 Dividers and decoration only
#34498C text on white 8.47:1 AAA Lc 89.0 Fine for body text
#34498C text on black 2.47:1 Fails Lc -13.3 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CFD9F2

    oklch(88.5% 0.036 268.3)

  4. Step 300

    300

    #AEC0ED

    oklch(81% 0.067 267.8)

  5. Step 400

    400

    #849EE3

    oklch(70.7% 0.106 267.9)

  6. Step 500

    500

    #6684DB

    oklch(63% 0.136 268)

  7. Step 600

    600

    #4F6CC9

    oklch(55.6% 0.148 268.3)

  8. Step 700

    700

    #405AAE

    oklch(49.2% 0.137 268.1)

  9. Step 800

    800 (this color)

    #34498C

    oklch(42.5% 0.114 268.2)

  10. Step 900

    900

    #2E3E70

    oklch(37.7% 0.088 268.6)

  11. Step 950

    950

    #1B2542

    oklch(27.1% 0.056 268.2)

Export this scale for Tailwind in the Tailwind colors tool

#34498C 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)#28518E0.024
Deuteranopia (no green cones)#1A498B0.026
Tritanopia (no blue cones)#0058630.098
Achromatopsia (no color)#4D4D4D0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #34498C

    #34498C

    oklch(42.5% 0.114 268.2)

  • #624B00

    #624B00

    oklch(42.5% 0.087 88.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34498C

    #34498C

    oklch(42.5% 0.114 268.2)

  • #00547C

    #00547C

    oklch(42.4% 0.095 238.8)

  • #573D83

    #573D83

    oklch(42.4% 0.114 298.6)

Open the analogous palette in the generator

Split complementary

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

  • #34498C

    #34498C

    oklch(42.5% 0.114 268.2)

  • #763E00

    #763E00

    oklch(42.5% 0.101 58.7)

  • #4A5500

    #4A5500

    oklch(42.5% 0.099 118)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34498C

    #34498C

    oklch(42.5% 0.114 268.2)

  • #813029

    #813029

    oklch(42.4% 0.114 27.8)

  • #105E27

    #105E27

    oklch(42.4% 0.113 148.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34498C

    #34498C

    oklch(42.5% 0.114 268.2)

  • #7D2E4E

    #7D2E4E

    oklch(42.4% 0.115 358)

  • #624B00

    #624B00

    oklch(42.5% 0.087 88.4)

  • #005C4E

    #005C4E

    oklch(42.5% 0.078 177.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34498C 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.