#0C283F

Closest named color: Oxford Blue (#1B263B). oklch(26.8% 0.055 246.6), rgb(12, 40, 63).

Aa

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

About this color

#0C283F is a dark, muted blue. In OKLCH its lightness is 27%, its chroma 0.055 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.018 away. White text reads best on it, at 15.09:1.

Hue familyBlues
Lightnessdark (27%)
Chromamuted (0.055)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.39:1
White text15.09:1

Values

HEX#0C283F
RGBrgb(12, 40, 63)
HSLhsl(207, 68%, 15%)
OKLCHoklch(26.8% 0.055 246.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 #0C283F 15.09:1 AAA Lc -104.6 Preferred for body text
Black text on #0C283F 1.39:1 Fails Lc 0.0 Not readable
#0C283F text on white 15.09:1 AAA Lc 101.8 Preferred for body text
#0C283F text on black 1.39: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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0EBF6

    oklch(93.5% 0.019 248)

  3. Step 200

    200

    #C7DCF0

    oklch(88.5% 0.036 246.9)

  4. Step 300

    300

    #9FC5E9

    oklch(80.8% 0.065 247.2)

  5. Step 400

    400

    #69A7DD

    oklch(70.8% 0.102 246.2)

  6. Step 500

    500

    #3A8FD4

    oklch(63% 0.132 246.6)

  7. Step 600

    600

    #0478C2

    oklch(55.6% 0.144 246.7)

  8. Step 700

    700

    #0065A4

    oklch(49.2% 0.127 246.3)

  9. Step 800

    800

    #015287

    oklch(42.6% 0.11 246.6)

  10. Step 900

    900

    #11456C

    oklch(37.8% 0.085 246)

  11. Step 950

    950 (this color)

    #0C283F

    oklch(26.8% 0.055 246.6)

Export this scale for Tailwind in the Tailwind colors tool

#0C283F 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)#1E29400.023
Deuteranopia (no green cones)#16243F0.016
Tritanopia (no blue cones)#002E300.041
Achromatopsia (no color)#2626260.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C283F

    #0C283F

    oklch(26.8% 0.055 246.6)

  • #382004

    #382004

    oklch(26.9% 0.055 66)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C283F

    #0C283F

    oklch(26.8% 0.055 246.6)

  • #002C35

    #002C35

    oklch(27% 0.048 215.4)

  • #1F2340

    #1F2340

    oklch(26.8% 0.054 276.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C283F

    #0C283F

    oklch(26.8% 0.055 246.6)

  • #3C1B12

    #3C1B12

    oklch(26.7% 0.055 36.2)

  • #2E2601

    #2E2601

    oklch(27% 0.054 96.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C283F

    #0C283F

    oklch(26.8% 0.055 246.6)

  • #3C1A22

    #3C1A22

    oklch(27% 0.054 6.5)

  • #1F2B0A

    #1F2B0A

    oklch(26.9% 0.055 126.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C283F

    #0C283F

    oklch(26.8% 0.055 246.6)

  • #361B30

    #361B30

    oklch(26.8% 0.054 335.7)

  • #382004

    #382004

    oklch(26.9% 0.055 66)

  • #092E1B

    #092E1B

    oklch(26.9% 0.055 156.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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