#0C7AAA

Closest named color: Nice Blue (#107AB0). oklch(54.8% 0.114 235.6), rgb(12, 122, 170).

Aa

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

About this color

#0C7AAA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.114 and its hue 236°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.010 away. White text reads best on it, at 4.79:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.37:1
White text4.79:1

Values

HEX#0C7AAA
RGBrgb(12, 122, 170)
HSLhsl(198, 87%, 36%)
OKLCHoklch(54.8% 0.114 235.6)

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 #0C7AAA 4.79:1 AA Lc -78.2 Fine for body text
Black text on #0C7AAA 4.37:1 AA large text Lc 31.3 Non-text elements, placeholder text
#0C7AAA text on white 4.79:1 AA Lc 72.7 Content text, not long reading
#0C7AAA text on black 4.37:1 AA large text Lc -28.9 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C8DDEA

    oklch(88.6% 0.029 234.9)

  4. Step 300

    300

    #A1C7DE

    oklch(81% 0.052 234.9)

  5. Step 400

    400

    #6CA9CD

    oklch(70.7% 0.082 235.5)

  6. Step 500

    500

    #3F93C0

    oklch(63.1% 0.105 235.4)

  7. Step 600

    600 (this color)

    #0C7AAA

    oklch(54.8% 0.114 235.6)

  8. Step 700

    700

    #006994

    oklch(49.2% 0.105 235.5)

  9. Step 800

    800

    #085678

    oklch(42.8% 0.087 234.9)

  10. Step 900

    900

    #144761

    oklch(37.8% 0.069 235.3)

  11. Step 950

    950

    #0E2A39

    oklch(27.1% 0.044 235)

Export this scale for Tailwind in the Tailwind colors tool

#0C7AAA 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)#627AAC0.067
Deuteranopia (no green cones)#4F6CA90.055
Tritanopia (no blue cones)#00868B0.069
Achromatopsia (no color)#7272720.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C7AAA

    #0C7AAA

    oklch(54.8% 0.114 235.6)

  • #A35D25

    #A35D25

    oklch(54.9% 0.114 55.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C7AAA

    #0C7AAA

    oklch(54.8% 0.114 235.6)

  • #00808B

    #00808B

    oklch(54.8% 0.094 205.4)

  • #516EB4

    #516EB4

    oklch(54.9% 0.115 265.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C7AAA

    #0C7AAA

    oklch(54.8% 0.114 235.6)

  • #AA534D

    #AA534D

    oklch(54.8% 0.115 25.6)

  • #8E6B00

    #8E6B00

    oklch(54.8% 0.112 85.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C7AAA

    #0C7AAA

    oklch(54.8% 0.114 235.6)

  • #A45274

    #A45274

    oklch(54.8% 0.115 355.4)

  • #6F781A

    #6F781A

    oklch(54.7% 0.114 115.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C7AAA

    #0C7AAA

    oklch(54.8% 0.114 235.6)

  • #925895

    #925895

    oklch(54.8% 0.113 325.2)

  • #A35D25

    #A35D25

    oklch(54.9% 0.114 55.5)

  • #408246

    #408246

    oklch(54.7% 0.113 145.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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