#1B397C

Closest named color: Twilight Blue (#0A437A). oklch(36.4% 0.12 263.5), rgb(27, 57, 124).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.92:1
White text10.92:1

Values

HEX#1B397C
RGBrgb(27, 57, 124)
HSLhsl(221, 64%, 30%)
OKLCHoklch(36.4% 0.12 263.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 #1B397C 10.92:1 AAA Lc -98.8 Preferred for body text
Black text on #1B397C 1.92:1 Fails Lc 9.0 Not readable
#1B397C text on white 10.92:1 AAA Lc 94.9 Preferred for body text
#1B397C text on black 1.92:1 Fails Lc -7.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 900.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C8DAFB

    oklch(88.5% 0.05 262.6)

  4. Step 300

    300

    #A3C1FB

    oklch(81% 0.089 263.3)

  5. Step 400

    400

    #719EFA

    oklch(70.7% 0.144 263.4)

  6. Step 500

    500

    #4D82F7

    oklch(63.1% 0.184 263.7)

  7. Step 600

    600

    #3168E6

    oklch(55.5% 0.2 263.5)

  8. Step 700

    700

    #2556C8

    oklch(49.2% 0.186 263.5)

  9. Step 800

    800

    #1F47A1

    oklch(42.6% 0.153 263.3)

  10. Step 900

    900 (this color)

    #1B397C

    oklch(36.4% 0.12 263.5)

  11. Step 950

    950

    #12244B

    oklch(26.9% 0.076 263.5)

Export this scale for Tailwind in the Tailwind colors tool

#1B397C 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)#0B417E0.023
Deuteranopia (no green cones)#00387B0.018
Tritanopia (no blue cones)#0049540.095
Achromatopsia (no color)#3D3D3D0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B397C

    #1B397C

    oklch(36.4% 0.12 263.5)

  • #513A00

    #513A00

    oklch(36.5% 0.075 83.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B397C

    #1B397C

    oklch(36.4% 0.12 263.5)

  • #00445F

    #00445F

    oklch(36.4% 0.075 233.1)

  • #432D76

    #432D76

    oklch(36.4% 0.12 293.5)

Open the analogous palette in the generator

Split complementary

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

  • #1B397C

    #1B397C

    oklch(36.4% 0.12 263.5)

  • #622E00

    #622E00

    oklch(36.5% 0.092 53.9)

  • #3E4200

    #3E4200

    oklch(36.3% 0.081 113.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B397C

    #1B397C

    oklch(36.4% 0.12 263.5)

  • #701A1D

    #701A1D

    oklch(36.4% 0.12 23.7)

  • #004D07

    #004D07

    oklch(36.5% 0.12 143.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B397C

    #1B397C

    oklch(36.4% 0.12 263.5)

  • #6A1A43

    #6A1A43

    oklch(36.4% 0.12 353.4)

  • #513A00

    #513A00

    oklch(36.5% 0.075 83.5)

  • #004A3B

    #004A3B

    oklch(36.5% 0.07 173.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1B397C 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.