#2538BF

Closest named color: Blue Blue (#2242C7). oklch(42.9% 0.209 268.5), rgb(37, 56, 191).

Aa

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

About this color

#2538BF is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.209 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.025 away. White text reads best on it, at 8.76:1.

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.209)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text2.39:1
White text8.76:1

Values

HEX#2538BF
RGBrgb(37, 56, 191)
HSLhsl(233, 68%, 45%)
OKLCHoklch(42.9% 0.209 268.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 #2538BF 8.76:1 AAA Lc -93.6 Preferred for body text
Black text on #2538BF 2.39:1 Fails Lc 14.9 Not readable
#2538BF text on white 8.76:1 AAA Lc 89.0 Fine for body text
#2538BF text on black 2.39:1 Fails Lc -13.2 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

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E1EAFF

    oklch(93.7% 0.03 267.2)

  3. Step 200

    200

    #CAD9FF

    oklch(88.6% 0.055 268.3)

  4. Step 300

    300

    #A7BFFF

    oklch(81% 0.095 268.4)

  5. Step 400

    400

    #799AFF

    oklch(70.6% 0.153 268.6)

  6. Step 500

    500

    #597DFF

    oklch(63.2% 0.197 268.6)

  7. Step 600

    600

    #3C5AFF

    oklch(55.5% 0.245 268.6)

  8. Step 700

    700

    #2D40EC

    oklch(49% 0.252 268.5)

  9. Step 800

    800 (this color)

    #2538BF

    oklch(42.9% 0.209 268.5)

  10. Step 900

    900

    #203396

    oklch(37.7% 0.163 268.5)

  11. Step 950

    950

    #121F58

    oklch(26.9% 0.104 268.5)

Export this scale for Tailwind in the Tailwind colors tool

#2538BF 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)#0052C30.056
Deuteranopia (no green cones)#0043BD0.027
Tritanopia (no blue cones)#005E770.161
Achromatopsia (no color)#4B4B4B0.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #2538BF

    #2538BF

    oklch(42.9% 0.209 268.5)

  • #634C00

    #634C00

    oklch(42.9% 0.088 88.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2538BF

    #2538BF

    oklch(42.9% 0.209 268.5)

  • #00557E

    #00557E

    oklch(42.8% 0.097 239.2)

  • #631BAF

    #631BAF

    oklch(43% 0.209 298.6)

Open the analogous palette in the generator

Split complementary

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

  • #2538BF

    #2538BF

    oklch(42.9% 0.209 268.5)

  • #773F00

    #773F00

    oklch(42.9% 0.101 59.1)

  • #4A5600

    #4A5600

    oklch(42.8% 0.1 118.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2538BF

    #2538BF

    oklch(42.9% 0.209 268.5)

  • #990004

    #990004

    oklch(42.9% 0.176 28.5)

  • #006125

    #006125

    oklch(43% 0.123 148.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2538BF

    #2538BF

    oklch(42.9% 0.209 268.5)

  • #92004E

    #92004E

    oklch(42.8% 0.174 358.5)

  • #634C00

    #634C00

    oklch(42.9% 0.088 88.6)

  • #005D50

    #005D50

    oklch(42.8% 0.078 178.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #2538BF.

Similar named colors

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

Use #2538BF 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.