#1B316A

Closest named color: Marine Blue (#01386A). oklch(33.1% 0.104 265.3), rgb(27, 49, 106).

Aa

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

About this color

#1B316A is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.104 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.025 away. White text reads best on it, at 12.39:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.69:1
White text12.39:1

Values

HEX#1B316A
RGBrgb(27, 49, 106)
HSLhsl(223, 59%, 26%)
OKLCHoklch(33.1% 0.104 265.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 #1B316A 12.39:1 AAA Lc -101.4 Preferred for body text
Black text on #1B316A 1.69:1 Fails Lc 0.0 Not readable
#1B316A text on white 12.39:1 AAA Lc 97.9 Preferred for body text
#1B316A text on black 1.69:1 Fails Lc 0.0 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CBD9F7

    oklch(88.4% 0.044 265.6)

  4. Step 300

    300

    #A8C0F4

    oklch(80.8% 0.079 265.4)

  5. Step 400

    400

    #7B9EEE

    oklch(70.7% 0.124 265.4)

  6. Step 500

    500

    #5A84E9

    oklch(63.2% 0.159 265.2)

  7. Step 600

    600

    #416BD7

    oklch(55.7% 0.172 265.2)

  8. Step 700

    700

    #3358BA

    oklch(49% 0.161 265.3)

  9. Step 800

    800

    #2B4997

    oklch(42.8% 0.133 265.3)

  10. Step 900

    900 (this color)

    #1B316A

    oklch(33.1% 0.104 265.3)

  11. Step 950

    950

    #172546

    oklch(27.1% 0.064 265.1)

Export this scale for Tailwind in the Tailwind colors tool

#1B316A 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)#0E386C0.021
Deuteranopia (no green cones)#0031690.021
Tritanopia (no blue cones)#003F480.085
Achromatopsia (no color)#3434340.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B316A

    #1B316A

    oklch(33.1% 0.104 265.3)

  • #453200

    #453200

    oklch(33% 0.068 85.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B316A

    #1B316A

    oklch(33.1% 0.104 265.3)

  • #003A54

    #003A54

    oklch(32.9% 0.07 235.5)

  • #3B2764

    #3B2764

    oklch(33.1% 0.103 295.3)

Open the analogous palette in the generator

Split complementary

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

  • #1B316A

    #1B316A

    oklch(33.1% 0.104 265.3)

  • #542800

    #542800

    oklch(33.1% 0.081 55.7)

  • #343A00

    #343A00

    oklch(33.1% 0.076 116)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B316A

    #1B316A

    oklch(33.1% 0.104 265.3)

  • #601818

    #601818

    oklch(33% 0.104 24.9)

  • #00420D

    #00420D

    oklch(33% 0.103 145.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B316A

    #1B316A

    oklch(33.1% 0.104 265.3)

  • #5C1838

    #5C1838

    oklch(33.2% 0.104 355.4)

  • #453200

    #453200

    oklch(33% 0.068 85.3)

  • #004034

    #004034

    oklch(33.2% 0.062 175.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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