#3951CB

Closest named color: Warm Blue (#4B57DB). oklch(49.3% 0.19 269.5), rgb(57, 81, 203).

Aa

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

About this color

#3951CB is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.190 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.038 away. White text reads best on it, at 6.53:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.190)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.21:1
White text6.53:1

Values

HEX#3951CB
RGBrgb(57, 81, 203)
HSLhsl(230, 58%, 51%)
OKLCHoklch(49.3% 0.19 269.5)

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 #3951CB 6.53:1 AA Lc -86.9 Fine for body text
Black text on #3951CB 3.21:1 AA large text Lc 22.2 Dividers and decoration only
#3951CB text on white 6.53:1 AA Lc 81.8 Fine for body text
#3951CB text on black 3.21:1 AA large text Lc -20.1 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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3EAFC

    oklch(93.7% 0.025 268.8)

  3. Step 200

    200

    #CBD8FC

    oklch(88.4% 0.052 269.6)

  4. Step 300

    300

    #A9BEFD

    oklch(80.8% 0.092 270)

  5. Step 400

    400

    #7C9AFC

    oklch(70.7% 0.147 269.5)

  6. Step 500

    500

    #5D7DFA

    oklch(63% 0.189 269.5)

  7. Step 600

    600

    #4663E9

    oklch(55.7% 0.205 269.3)

  8. Step 700

    700 (this color)

    #3951CB

    oklch(49.3% 0.19 269.5)

  9. Step 800

    800

    #2F43A4

    oklch(42.8% 0.158 269.6)

  10. Step 900

    900

    #293A82

    oklch(37.8% 0.123 269.6)

  11. Step 950

    950

    #18234C

    oklch(27.1% 0.077 269.4)

Export this scale for Tailwind in the Tailwind colors tool

#3951CB 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)#0064CF0.050
Deuteranopia (no green cones)#0057C90.034
Tritanopia (no blue cones)#0070860.152
Achromatopsia (no color)#5D5D5D0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #3951CB

    #3951CB

    oklch(49.3% 0.19 269.5)

  • #785D00

    #785D00

    oklch(49.2% 0.101 88.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3951CB

    #3951CB

    oklch(49.3% 0.19 269.5)

  • #006899

    #006899

    oklch(49.2% 0.111 239.3)

  • #743BBB

    #743BBB

    oklch(49.3% 0.191 299.7)

Open the analogous palette in the generator

Split complementary

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

  • #3951CB

    #3951CB

    oklch(49.3% 0.19 269.5)

  • #904E00

    #904E00

    oklch(49.3% 0.116 59.5)

  • #5A6A00

    #5A6A00

    oklch(49.3% 0.117 119.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3951CB

    #3951CB

    oklch(49.3% 0.19 269.5)

  • #B4170D

    #B4170D

    oklch(49.2% 0.19 29.6)

  • #007532

    #007532

    oklch(49.1% 0.137 149.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3951CB

    #3951CB

    oklch(49.3% 0.19 269.5)

  • #AE135E

    #AE135E

    oklch(49.3% 0.19 359.5)

  • #785D00

    #785D00

    oklch(49.2% 0.101 88.9)

  • #007163

    #007163

    oklch(49.2% 0.089 180.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3951CB 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.