#0B5281

Closest named color: Deep Sea Blue (#015482). oklch(42.4% 0.101 245), rgb(11, 82, 129).

Aa

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

About this color

#0B5281 is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.101 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.006 away. White text reads best on it, at 8.27:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.101)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.53:1
White text8.27:1

Values

HEX#0B5281
RGBrgb(11, 82, 129)
HSLhsl(204, 84%, 27%)
OKLCHoklch(42.4% 0.101 245)

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 #0B5281 8.27:1 AAA Lc -92.8 Preferred for body text
Black text on #0B5281 2.53:1 Fails Lc 15.9 Dividers and decoration only
#0B5281 text on white 8.27:1 AAA Lc 88.1 Fine for body text
#0B5281 text on black 2.53:1 Fails Lc -14.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 800.

  1. Step 50

    50

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF5

    oklch(93.5% 0.017 248)

  3. Step 200

    200

    #C8DCEE

    oklch(88.5% 0.033 245.3)

  4. Step 300

    300

    #A1C5E5

    oklch(80.8% 0.06 245.5)

  5. Step 400

    400

    #6CA7D8

    oklch(70.7% 0.095 244.8)

  6. Step 500

    500

    #4190CD

    oklch(63.1% 0.12 244.8)

  7. Step 600

    600

    #1879BA

    oklch(55.6% 0.131 244.8)

  8. Step 700

    700

    #0465A0

    oklch(49% 0.122 245)

  9. Step 800

    800 (this color)

    #0B5281

    oklch(42.4% 0.101 245)

  10. Step 900

    900

    #164568

    oklch(37.7% 0.078 244.8)

  11. Step 950

    950

    #0F293D

    oklch(27.1% 0.049 244.3)

Export this scale for Tailwind in the Tailwind colors tool

#0B5281 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)#3B54830.041
Deuteranopia (no green cones)#2B4A800.029
Tritanopia (no blue cones)#005D630.069
Achromatopsia (no color)#4E4E4E0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B5281

    #0B5281

    oklch(42.4% 0.101 245)

  • #714100

    #714100

    oklch(42.4% 0.095 64.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B5281

    #0B5281

    oklch(42.4% 0.101 245)

  • #005867

    #005867

    oklch(42.3% 0.075 214.4)

  • #3F4884

    #3F4884

    oklch(42.4% 0.1 274.9)

Open the analogous palette in the generator

Split complementary

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

  • #0B5281

    #0B5281

    oklch(42.4% 0.101 245)

  • #7B3625

    #7B3625

    oklch(42.3% 0.101 35)

  • #5D4D00

    #5D4D00

    oklch(42.4% 0.087 95.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B5281

    #0B5281

    oklch(42.4% 0.101 245)

  • #7A3347

    #7A3347

    oklch(42.4% 0.101 4.7)

  • #425709

    #425709

    oklch(42.4% 0.101 124.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B5281

    #0B5281

    oklch(42.4% 0.101 245)

  • #6F3664

    #6F3664

    oklch(42.4% 0.102 335)

  • #714100

    #714100

    oklch(42.4% 0.095 64.7)

  • #095E34

    #095E34

    oklch(42.5% 0.102 154.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0B5281 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.