#343F97

Closest named color: Blueberry (#464196). oklch(41.2% 0.143 273), rgb(52, 63, 151).

Aa

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

About this color

#343F97 is a dark, vivid blue. In OKLCH its lightness is 41%, its chroma 0.143 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.028 away. White text reads best on it, at 9.11:1.

Hue familyBlues
Lightnessdark (41%)
Chromavivid (0.143)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.30:1
White text9.11:1

Values

HEX#343F97
RGBrgb(52, 63, 151)
HSLhsl(233, 49%, 40%)
OKLCHoklch(41.2% 0.143 273)

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 #343F97 9.11:1 AAA Lc -95.0 Preferred for body text
Black text on #343F97 2.30:1 Fails Lc 13.4 Not readable
#343F97 text on white 9.11:1 AAA Lc 90.6 Preferred for body text
#343F97 text on black 2.30:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9FB

    oklch(93.6% 0.025 273.5)

  3. Step 200

    200

    #CFD8F9

    oklch(88.6% 0.047 273.4)

  4. Step 300

    300

    #AEBEF7

    oklch(80.9% 0.083 272.3)

  5. Step 400

    400

    #8599F4

    oklch(70.6% 0.135 273.1)

  6. Step 500

    500

    #697DEF

    oklch(63% 0.171 273)

  7. Step 600

    600

    #5363DE

    oklch(55.6% 0.187 273.1)

  8. Step 700

    700

    #4451C1

    oklch(49.1% 0.174 273.2)

  9. Step 800

    800 (this color)

    #343F97

    oklch(41.2% 0.143 273)

  10. Step 900

    900

    #2F3A7C

    oklch(37.7% 0.112 272.8)

  11. Step 950

    950

    #1C2248

    oklch(26.9% 0.07 274)

Export this scale for Tailwind in the Tailwind colors tool

#343F97 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)#004D9A0.047
Deuteranopia (no green cones)#0044950.040
Tritanopia (no blue cones)#0054640.120
Achromatopsia (no color)#4848480.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #343F97

    #343F97

    oklch(41.2% 0.143 273)

  • #5B4900

    #5B4900

    oklch(41.2% 0.084 92.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #343F97

    #343F97

    oklch(41.2% 0.143 273)

  • #004F7C

    #004F7C

    oklch(41.1% 0.1 243.2)

  • #5C3089

    #5C3089

    oklch(41.2% 0.143 303.4)

Open the analogous palette in the generator

Split complementary

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

  • #343F97

    #343F97

    oklch(41.2% 0.143 273)

  • #6E3D00

    #6E3D00

    oklch(41.2% 0.094 62.4)

  • #415300

    #415300

    oklch(41.2% 0.101 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #343F97

    #343F97

    oklch(41.2% 0.143 273)

  • #881F09

    #881F09

    oklch(41.3% 0.144 33)

  • #005B2D

    #005B2D

    oklch(41.3% 0.107 152.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #343F97

    #343F97

    oklch(41.2% 0.143 273)

  • #841A43

    #841A43

    oklch(41.1% 0.143 3.1)

  • #5B4900

    #5B4900

    oklch(41.2% 0.084 92.6)

  • #00584F

    #00584F

    oklch(41.3% 0.074 183)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #343F97 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.