#264171

Closest named color: Twilight Blue (#0A437A). oklch(38% 0.089 261.1), rgb(38, 65, 113).

Aa

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

About this color

#264171 is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.089 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.024 away. White text reads best on it, at 10.11:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.089)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.07:1
White text10.11:1

Values

HEX#264171
RGBrgb(38, 65, 113)
HSLhsl(218, 50%, 30%)
OKLCHoklch(38% 0.089 261.1)

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 #264171 10.11:1 AAA Lc -97.4 Preferred for body text
Black text on #264171 2.07:1 Fails Lc 10.7 Not readable
#264171 text on white 10.11:1 AAA Lc 93.3 Preferred for body text
#264171 text on black 2.07:1 Fails Lc -9.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 900.

  1. Step 50

    50

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E3EAF7

    oklch(93.6% 0.019 263)

  3. Step 200

    200

    #CCDAF2

    oklch(88.5% 0.036 261.3)

  4. Step 300

    300

    #A9C2EC

    oklch(81% 0.066 260.7)

  5. Step 400

    400

    #7BA1E3

    oklch(70.8% 0.106 261.1)

  6. Step 500

    500

    #5988DB

    oklch(63.1% 0.136 261)

  7. Step 600

    600

    #3E70C9

    oklch(55.6% 0.148 261)

  8. Step 700

    700

    #315DAE

    oklch(49.1% 0.138 261.4)

  9. Step 800

    800

    #294D8C

    oklch(42.8% 0.113 260.7)

  10. Step 900

    900 (this color)

    #264171

    oklch(38% 0.089 261.1)

  11. Step 950

    950

    #162642

    oklch(27% 0.057 260.9)

Export this scale for Tailwind in the Tailwind colors tool

#264171 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)#2C45730.015
Deuteranopia (no green cones)#213E700.011
Tritanopia (no blue cones)#004C530.075
Achromatopsia (no color)#4242420.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #264171

    #264171

    oklch(38% 0.089 261.1)

  • #573D00

    #573D00

    oklch(37.9% 0.078 81.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #264171

    #264171

    oklch(38% 0.089 261.1)

  • #004963

    #004963

    oklch(38% 0.076 230.5)

  • #43386D

    #43386D

    oklch(37.9% 0.088 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #264171

    #264171

    oklch(38% 0.089 261.1)

  • #66320D

    #66320D

    oklch(37.9% 0.088 51.2)

  • #444600

    #444600

    oklch(38% 0.084 111.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #264171

    #264171

    oklch(38% 0.089 261.1)

  • #6A2C2D

    #6A2C2D

    oklch(38% 0.089 21.3)

  • #244D1E

    #244D1E

    oklch(37.8% 0.088 141.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #264171

    #264171

    oklch(38% 0.089 261.1)

  • #642C48

    #642C48

    oklch(37.9% 0.088 350.9)

  • #573D00

    #573D00

    oklch(37.9% 0.078 81.4)

  • #004F3D

    #004F3D

    oklch(38.1% 0.075 170.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #264171 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.