#3151AF

Closest named color: Blue Blue (#2242C7). oklch(46.6% 0.155 266.3), rgb(49, 81, 175).

Aa

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

About this color

#3151AF is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.155 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.17:1.

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

Values

HEX#3151AF
RGBrgb(49, 81, 175)
HSLhsl(225, 56%, 44%)
OKLCHoklch(46.6% 0.155 266.3)

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 #3151AF 7.17:1 AAA Lc -89.4 Fine for body text
Black text on #3151AF 2.92:1 Fails Lc 19.5 Dividers and decoration only
#3151AF text on white 7.17:1 AAA Lc 84.5 Fine for body text
#3151AF text on black 2.92:1 Fails Lc -17.5 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

    #F2F5FC

    oklch(97% 0.01 267.4)

  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

    #7E9EEC

    oklch(70.8% 0.12 266.4)

  6. Step 500

    500

    #5E84E5

    oklch(63.1% 0.152 266.1)

  7. Step 600

    600

    #466BD3

    oklch(55.6% 0.166 266.4)

  8. Step 700

    700 (this color)

    #3151AF

    oklch(46.6% 0.155 266.3)

  9. Step 800

    800

    #2E4994

    oklch(42.7% 0.128 266.2)

  10. Step 900

    900

    #293E76

    oklch(37.8% 0.099 266.3)

  11. Step 950

    950

    #182545

    oklch(27.1% 0.062 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#3151AF 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)#0B5EB20.037
Deuteranopia (no green cones)#0052AD0.029
Tritanopia (no blue cones)#0068780.125
Achromatopsia (no color)#5757570.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #3151AF

    #3151AF

    oklch(46.6% 0.155 266.3)

  • #715500

    #715500

    oklch(46.6% 0.095 86.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3151AF

    #3151AF

    oklch(46.6% 0.155 266.3)

  • #00618A

    #00618A

    oklch(46.6% 0.1 236.1)

  • #6440A4

    #6440A4

    oklch(46.5% 0.155 296.5)

Open the analogous palette in the generator

Split complementary

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

  • #3151AF

    #3151AF

    oklch(46.6% 0.155 266.3)

  • #884500

    #884500

    oklch(46.5% 0.114 55.9)

  • #576000

    #576000

    oklch(46.5% 0.106 115.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3151AF

    #3151AF

    oklch(46.6% 0.155 266.3)

  • #9E2826

    #9E2826

    oklch(46.5% 0.155 26.3)

  • #006D21

    #006D21

    oklch(46.5% 0.141 146.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3151AF

    #3151AF

    oklch(46.6% 0.155 266.3)

  • #97275C

    #97275C

    oklch(46.5% 0.155 356.1)

  • #715500

    #715500

    oklch(46.6% 0.095 86.4)

  • #006958

    #006958

    oklch(46.5% 0.087 176.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3151AF 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.