#0C2E4F

Closest named color: Marine (#042E60). oklch(29.6% 0.071 251.1), rgb(12, 46, 79).

Aa

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

About this color

#0C2E4F is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.071 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.031 away. White text reads best on it, at 13.82:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.51:1
White text13.82:1

Values

HEX#0C2E4F
RGBrgb(12, 46, 79)
HSLhsl(210, 74%, 18%)
OKLCHoklch(29.6% 0.071 251.1)

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 #0C2E4F 13.82:1 AAA Lc -103.3 Preferred for body text
Black text on #0C2E4F 1.51:1 Fails Lc 0.0 Not readable
#0C2E4F text on white 13.82:1 AAA Lc 100.2 Preferred for body text
#0C2E4F text on black 1.51: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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DEEBFA

    oklch(93.5% 0.025 251.9)

  3. Step 200

    200

    #C3DCF8

    oklch(88.5% 0.047 251.3)

  4. Step 300

    300

    #98C5F6

    oklch(80.9% 0.085 251)

  5. Step 400

    400

    #5BA5F2

    oklch(70.7% 0.136 251.1)

  6. Step 500

    500

    #1C8CED

    oklch(63.1% 0.173 250.9)

  7. Step 600

    600

    #0075CE

    oklch(55.7% 0.162 251.1)

  8. Step 700

    700

    #0062AE

    oklch(49.1% 0.143 251.1)

  9. Step 800

    800

    #005090

    oklch(42.7% 0.125 251.1)

  10. Step 900

    900

    #004279

    oklch(37.6% 0.11 251.3)

  11. Step 950

    950 (this color)

    #0C2E4F

    oklch(29.6% 0.071 251.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C2E4F 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)#1E30500.021
Deuteranopia (no green cones)#142A4E0.013
Tritanopia (no blue cones)#00363A0.054
Achromatopsia (no color)#2D2D2D0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C2E4F

    #0C2E4F

    oklch(29.6% 0.071 251.1)

  • #402600

    #402600

    oklch(29.5% 0.064 70.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C2E4F

    #0C2E4F

    oklch(29.6% 0.071 251.1)

  • #003340

    #003340

    oklch(29.7% 0.054 220.6)

  • #27274F

    #27274F

    oklch(29.5% 0.071 281.1)

Open the analogous palette in the generator

Split complementary

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

  • #0C2E4F

    #0C2E4F

    oklch(29.6% 0.071 251.1)

  • #4A1E0D

    #4A1E0D

    oklch(29.6% 0.072 40.7)

  • #342D00

    #342D00

    oklch(29.6% 0.061 100.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C2E4F

    #0C2E4F

    oklch(29.6% 0.071 251.1)

  • #4A1B24

    #4A1B24

    oklch(29.6% 0.072 10.8)

  • #203408

    #203408

    oklch(29.7% 0.071 131)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C2E4F

    #0C2E4F

    oklch(29.6% 0.071 251.1)

  • #441D37

    #441D37

    oklch(29.7% 0.071 341.7)

  • #402600

    #402600

    oklch(29.5% 0.064 70.9)

  • #003722

    #003722

    oklch(29.7% 0.066 161)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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