#3152B1

Closest named color: Blue Blue (#2242C7). oklch(47% 0.156 266.1), rgb(49, 82, 177).

Aa

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

About this color

#3152B1 is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.156 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.055 away. White text reads best on it, at 7.06:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromavivid (0.156)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text2.97:1
White text7.06:1

Values

HEX#3152B1
RGBrgb(49, 82, 177)
HSLhsl(225, 57%, 44%)
OKLCHoklch(47% 0.156 266.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 #3152B1 7.06:1 AAA Lc -89.0 Fine for body text
Black text on #3152B1 2.97:1 Fails Lc 20.0 Dividers and decoration only
#3152B1 text on white 7.06:1 AAA Lc 84.1 Fine for body text
#3152B1 text on black 2.97:1 Fails Lc -17.9 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 700.

  1. Step 50

    50

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CCD9F6

    oklch(88.5% 0.042 266.3)

  4. Step 300

    300

    #AAC0F2

    oklch(80.9% 0.075 266.2)

  5. Step 400

    400

    #7D9EEC

    oklch(70.7% 0.121 265.9)

  6. Step 500

    500

    #5D84E6

    oklch(63.2% 0.154 265.8)

  7. Step 600

    600

    #456BD4

    oklch(55.6% 0.167 266.1)

  8. Step 700

    700 (this color)

    #3152B1

    oklch(47% 0.156 266.1)

  9. Step 800

    800

    #2D4995

    oklch(42.7% 0.129 265.9)

  10. Step 900

    900

    #283E77

    oklch(37.8% 0.101 265.9)

  11. Step 950

    950

    #182545

    oklch(27.1% 0.062 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#3152B1 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)#0B5FB40.037
Deuteranopia (no green cones)#0053AF0.029
Tritanopia (no blue cones)#0069790.126
Achromatopsia (no color)#5858580.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #3152B1

    #3152B1

    oklch(47% 0.156 266.1)

  • #735600

    #735600

    oklch(47.1% 0.096 85.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3152B1

    #3152B1

    oklch(47% 0.156 266.1)

  • #00628B

    #00628B

    oklch(46.9% 0.101 235.9)

  • #6541A6

    #6541A6

    oklch(46.9% 0.156 296.3)

Open the analogous palette in the generator

Split complementary

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

  • #3152B1

    #3152B1

    oklch(47% 0.156 266.1)

  • #8A4600

    #8A4600

    oklch(47% 0.115 55.9)

  • #586100

    #586100

    oklch(46.9% 0.107 115.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3152B1

    #3152B1

    oklch(47% 0.156 266.1)

  • #A02827

    #A02827

    oklch(46.9% 0.157 26)

  • #006E20

    #006E20

    oklch(46.8% 0.143 146)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3152B1

    #3152B1

    oklch(47% 0.156 266.1)

  • #99285D

    #99285D

    oklch(47% 0.156 356.3)

  • #735600

    #735600

    oklch(47.1% 0.096 85.8)

  • #006A59

    #006A59

    oklch(46.9% 0.087 176.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3152B1 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.