#303EA9

Closest named color: Sapphire (#2138AB). oklch(42.3% 0.171 271.3), rgb(48, 62, 169).

Aa

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

About this color

#303EA9 is a dark, vivid blue. In OKLCH its lightness is 42%, its chroma 0.171 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.024 away. White text reads best on it, at 8.79:1.

Hue familyBlues
Lightnessdark (42%)
Chromavivid (0.171)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text2.38:1
White text8.79:1

Values

HEX#303EA9
RGBrgb(48, 62, 169)
HSLhsl(233, 56%, 43%)
OKLCHoklch(42.3% 0.171 271.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 #303EA9 8.79:1 AAA Lc -94.0 Preferred for body text
Black text on #303EA9 2.38:1 Fails Lc 14.5 Not readable
#303EA9 text on white 8.79:1 AAA Lc 89.5 Fine for body text
#303EA9 text on black 2.38: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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FE

    oklch(93.6% 0.029 273.1)

  3. Step 200

    200

    #CBD8FF

    oklch(88.5% 0.056 270.7)

  4. Step 300

    300

    #AABEFF

    oklch(81% 0.095 271)

  5. Step 400

    400

    #7F99FF

    oklch(70.8% 0.152 271.3)

  6. Step 500

    500

    #607BFF

    oklch(63.2% 0.197 271)

  7. Step 600

    600

    #495DF2

    oklch(55.5% 0.222 271.2)

  8. Step 700

    700

    #3C4CD3

    oklch(49.2% 0.206 271.2)

  9. Step 800

    800 (this color)

    #303EA9

    oklch(42.3% 0.171 271.3)

  10. Step 900

    900

    #2A3787

    oklch(37.7% 0.134 271.4)

  11. Step 950

    950

    #18214F

    oklch(26.9% 0.085 271.3)

Export this scale for Tailwind in the Tailwind colors tool

#303EA9 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)#0050AC0.048
Deuteranopia (no green cones)#0045A70.034
Tritanopia (no blue cones)#005A6D0.138
Achromatopsia (no color)#4A4A4A0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #303EA9

    #303EA9

    oklch(42.3% 0.171 271.3)

  • #5F4B00

    #5F4B00

    oklch(42.2% 0.086 91.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #303EA9

    #303EA9

    oklch(42.3% 0.171 271.3)

  • #00537F

    #00537F

    oklch(42.3% 0.1 241.6)

  • #602B9A

    #602B9A

    oklch(42.3% 0.171 301.1)

Open the analogous palette in the generator

Split complementary

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

  • #303EA9

    #303EA9

    oklch(42.3% 0.171 271.3)

  • #733F00

    #733F00

    oklch(42.3% 0.098 61.4)

  • #465600

    #465600

    oklch(42.4% 0.102 121.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #303EA9

    #303EA9

    oklch(42.3% 0.171 271.3)

  • #931100

    #931100

    oklch(42.4% 0.164 31.2)

  • #005F2B

    #005F2B

    oklch(42.5% 0.114 151)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #303EA9

    #303EA9

    oklch(42.3% 0.171 271.3)

  • #900148

    #900148

    oklch(42.3% 0.17 1.2)

  • #5F4B00

    #5F4B00

    oklch(42.2% 0.086 91.1)

  • #005B50

    #005B50

    oklch(42.2% 0.076 181)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #303EA9.

Similar named colors

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

Use #303EA9 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.