#0C2F6B

Closest named color: Marine (#042E60). oklch(32.1% 0.112 260.6), rgb(12, 47, 107).

Aa

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

About this color

#0C2F6B is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.112 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.021 away. White text reads best on it, at 12.84:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.63:1
White text12.84:1

Values

HEX#0C2F6B
RGBrgb(12, 47, 107)
HSLhsl(218, 80%, 23%)
OKLCHoklch(32.1% 0.112 260.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 #0C2F6B 12.84:1 AAA Lc -101.9 Preferred for body text
Black text on #0C2F6B 1.63:1 Fails Lc 0.0 Not readable
#0C2F6B text on white 12.84:1 AAA Lc 98.5 Preferred for body text
#0C2F6B text on black 1.63: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 950.

  1. Step 50

    50

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DEEBFF

    oklch(93.6% 0.031 258.9)

  3. Step 200

    200

    #C4DAFF

    oklch(88.4% 0.057 260.8)

  4. Step 300

    300

    #9DC2FF

    oklch(81% 0.096 260.2)

  5. Step 400

    400

    #679FFF

    oklch(70.7% 0.153 260.6)

  6. Step 500

    500

    #3B83FF

    oklch(63.1% 0.198 260.5)

  7. Step 600

    600

    #0065F9

    oklch(55.6% 0.235 260.6)

  8. Step 700

    700

    #0054D3

    oklch(49% 0.208 260.7)

  9. Step 800

    800

    #0045AF

    oklch(42.8% 0.18 260.5)

  10. Step 900

    900

    #003994

    oklch(37.8% 0.159 260.6)

  11. Step 950

    950 (this color)

    #0C2F6B

    oklch(32.1% 0.112 260.6)

Export this scale for Tailwind in the Tailwind colors tool

#0C2F6B 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)#01366D0.020
Deuteranopia (no green cones)#002E6A0.009
Tritanopia (no blue cones)#003E480.086
Achromatopsia (no color)#3232320.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C2F6B

    #0C2F6B

    oklch(32.1% 0.112 260.6)

  • #442F00

    #442F00

    oklch(32.1% 0.066 81.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C2F6B

    #0C2F6B

    oklch(32.1% 0.112 260.6)

  • #00384E

    #00384E

    oklch(32% 0.065 231.8)

  • #352467

    #352467

    oklch(32.2% 0.112 290.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C2F6B

    #0C2F6B

    oklch(32.1% 0.112 260.6)

  • #532300

    #532300

    oklch(32% 0.084 50.5)

  • #353600

    #353600

    oklch(32.1% 0.071 110.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C2F6B

    #0C2F6B

    oklch(32.1% 0.112 260.6)

  • #600F19

    #600F19

    oklch(32.1% 0.113 20.4)

  • #0A3F00

    #0A3F00

    oklch(32.1% 0.105 140.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C2F6B

    #0C2F6B

    oklch(32.1% 0.112 260.6)

  • #5A113A

    #5A113A

    oklch(32.1% 0.113 351.1)

  • #442F00

    #442F00

    oklch(32.1% 0.066 81.6)

  • #003D2E

    #003D2E

    oklch(32% 0.063 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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