#28357F

Closest named color: Twilight Blue (#0A437A). oklch(36.4% 0.125 271.3), rgb(40, 53, 127).

Aa

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

About this color

#28357F is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.125 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.044 away. White text reads best on it, at 11.01:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.90:1
White text11.01:1

Values

HEX#28357F
RGBrgb(40, 53, 127)
HSLhsl(231, 52%, 33%)
OKLCHoklch(36.4% 0.125 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 #28357F 11.01:1 AAA Lc -99.0 Preferred for body text
Black text on #28357F 1.90:1 Fails Lc 8.8 Not readable
#28357F text on white 11.01:1 AAA Lc 95.1 Preferred for body text
#28357F text on black 1.90:1 Fails Lc -7.5 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 900.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FD

    oklch(93.5% 0.028 272.5)

  3. Step 200

    200

    #CCD8FD

    oklch(88.5% 0.053 271.1)

  4. Step 300

    300

    #AABEFE

    oklch(81% 0.094 270.8)

  5. Step 400

    400

    #7F99FE

    oklch(70.8% 0.151 271.2)

  6. Step 500

    500

    #617BFC

    oklch(63% 0.193 271.3)

  7. Step 600

    600

    #4B60EB

    oklch(55.6% 0.209 271.3)

  8. Step 700

    700

    #3D4ECC

    oklch(49% 0.194 271.3)

  9. Step 800

    800

    #3241A5

    oklch(42.7% 0.161 271.3)

  10. Step 900

    900 (this color)

    #28357F

    oklch(36.4% 0.125 271.3)

  11. Step 950

    950

    #19224D

    oklch(27.1% 0.08 271.2)

Export this scale for Tailwind in the Tailwind colors tool

#28357F 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)#0040820.038
Deuteranopia (no green cones)#00387E0.032
Tritanopia (no blue cones)#0047540.104
Achromatopsia (no color)#3C3C3C0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #28357F

    #28357F

    oklch(36.4% 0.125 271.3)

  • #4D3C00

    #4D3C00

    oklch(36.4% 0.074 90.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28357F

    #28357F

    oklch(36.4% 0.125 271.3)

  • #004367

    #004367

    oklch(36.6% 0.085 241)

  • #4B2874

    #4B2874

    oklch(36.4% 0.126 301.6)

Open the analogous palette in the generator

Split complementary

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

  • #28357F

    #28357F

    oklch(36.4% 0.125 271.3)

  • #5D3200

    #5D3200

    oklch(36.4% 0.084 61.6)

  • #374500

    #374500

    oklch(36.5% 0.088 121.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28357F

    #28357F

    oklch(36.4% 0.125 271.3)

  • #72190C

    #72190C

    oklch(36.5% 0.125 31.4)

  • #004C22

    #004C22

    oklch(36.5% 0.097 151.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28357F

    #28357F

    oklch(36.4% 0.125 271.3)

  • #6F163A

    #6F163A

    oklch(36.6% 0.125 1.5)

  • #4D3C00

    #4D3C00

    oklch(36.4% 0.074 90.7)

  • #004940

    #004940

    oklch(36.4% 0.065 181.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28357F 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.