#3F3F9D

Closest named color: Blueberry (#464196). oklch(42.5% 0.149 278), rgb(63, 63, 157).

Aa

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

About this color

#3F3F9D is a dark, vivid blue. In OKLCH its lightness is 42%, its chroma 0.149 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.017 away. White text reads best on it, at 8.71:1.

Hue familyBlues
Lightnessdark (42%)
Chromavivid (0.149)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.40:1
White text8.71:1

Values

HEX#3F3F9D
RGBrgb(63, 63, 157)
HSLhsl(240, 43%, 43%)
OKLCHoklch(42.5% 0.149 278)

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 #3F3F9D 8.71:1 AAA Lc -94.0 Preferred for body text
Black text on #3F3F9D 2.40:1 Fails Lc 14.5 Not readable
#3F3F9D text on white 8.71:1 AAA Lc 89.5 Fine for body text
#3F3F9D text on black 2.40:1 Fails Lc -12.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

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D1D7FA

    oklch(88.6% 0.049 277.7)

  4. Step 300

    300

    #B3BCF9

    oklch(81% 0.087 277.8)

  5. Step 400

    400

    #8D96F6

    oklch(70.7% 0.14 278.1)

  6. Step 500

    500

    #7379F2

    oklch(63.1% 0.178 277.9)

  7. Step 600

    600

    #5E5EE1

    oklch(55.6% 0.194 278)

  8. Step 700

    700

    #4E4DC3

    oklch(49.2% 0.179 277.9)

  9. Step 800

    800 (this color)

    #3F3F9D

    oklch(42.5% 0.149 278)

  10. Step 900

    900

    #35377D

    oklch(37.6% 0.116 278)

  11. Step 950

    950

    #1F2149

    oklch(27% 0.073 278.2)

Export this scale for Tailwind in the Tailwind colors tool

#3F3F9D 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)#004FA00.059
Deuteranopia (no green cones)#00479B0.054
Tritanopia (no blue cones)#0056680.129
Achromatopsia (no color)#4B4B4B0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F3F9D

    #3F3F9D

    oklch(42.5% 0.149 278)

  • #5B4E00

    #5B4E00

    oklch(42.4% 0.088 98.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F3F9D

    #3F3F9D

    oklch(42.5% 0.149 278)

  • #005189

    #005189

    oklch(42.5% 0.114 248)

  • #65308B

    #65308B

    oklch(42.5% 0.148 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #3F3F9D

    #3F3F9D

    oklch(42.5% 0.149 278)

  • #6F4300

    #6F4300

    oklch(42.5% 0.093 68.3)

  • #3C5900

    #3C5900

    oklch(42.5% 0.111 128.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F3F9D

    #3F3F9D

    oklch(42.5% 0.149 278)

  • #8A2800

    #8A2800

    oklch(42.6% 0.139 38)

  • #005E39

    #005E39

    oklch(42.5% 0.099 158.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F3F9D

    #3F3F9D

    oklch(42.5% 0.149 278)

  • #8C1A3F

    #8C1A3F

    oklch(42.5% 0.149 7.7)

  • #5B4E00

    #5B4E00

    oklch(42.4% 0.088 98.1)

  • #005B56

    #005B56

    oklch(42.5% 0.074 188.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3F3F9D 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.