#12749D

Closest named color: Ocean Blue (#03719C). oklch(52.7% 0.104 233.2), rgb(18, 116, 157).

Aa

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

About this color

#12749D is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.104 and its hue 233°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.010 away. White text reads best on it, at 5.23:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text4.01:1
White text5.23:1

Values

HEX#12749D
RGBrgb(18, 116, 157)
HSLhsl(198, 79%, 34%)
OKLCHoklch(52.7% 0.104 233.2)

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 #12749D 5.23:1 AA Lc -80.9 Fine for body text
Black text on #12749D 4.01:1 AA large text Lc 28.5 Dividers and decoration only
#12749D text on white 5.23:1 AA Lc 75.5 Fine for body text
#12749D text on black 4.01:1 AA large text Lc -26.2 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C9DDE8

    oklch(88.6% 0.026 231.7)

  4. Step 300

    300

    #A4C6DA

    oklch(80.8% 0.046 233.9)

  5. Step 400

    400

    #70A9C8

    oklch(70.7% 0.075 233.1)

  6. Step 500

    500

    #4693BA

    oklch(63.1% 0.096 233.2)

  7. Step 600

    600 (this color)

    #12749D

    oklch(52.7% 0.104 233.2)

  8. Step 700

    700

    #10698E

    oklch(49.1% 0.096 232.9)

  9. Step 800

    800

    #135674

    oklch(42.8% 0.08 233.2)

  10. Step 900

    900

    #19475D

    oklch(37.7% 0.062 232.6)

  11. Step 950

    950

    #102A37

    oklch(27.1% 0.04 232.6)

Export this scale for Tailwind in the Tailwind colors tool

#12749D 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)#5F739F0.065
Deuteranopia (no green cones)#4E679C0.054
Tritanopia (no blue cones)#007F820.063
Achromatopsia (no color)#6C6C6C0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #12749D

    #12749D

    oklch(52.7% 0.104 233.2)

  • #99582B

    #99582B

    oklch(52.7% 0.104 53)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12749D

    #12749D

    oklch(52.7% 0.104 233.2)

  • #007A82

    #007A82

    oklch(52.8% 0.09 202.8)

  • #4B69A7

    #4B69A7

    oklch(52.7% 0.104 263.6)

Open the analogous palette in the generator

Split complementary

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

  • #12749D

    #12749D

    oklch(52.7% 0.104 233.2)

  • #9E504E

    #9E504E

    oklch(52.6% 0.104 22.8)

  • #88640D

    #88640D

    oklch(52.6% 0.104 82.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12749D

    #12749D

    oklch(52.7% 0.104 233.2)

  • #985070

    #985070

    oklch(52.7% 0.103 353.2)

  • #6B711E

    #6B711E

    oklch(52.7% 0.104 113.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12749D

    #12749D

    oklch(52.7% 0.104 233.2)

  • #88558D

    #88558D

    oklch(52.7% 0.104 323.7)

  • #99582B

    #99582B

    oklch(52.7% 0.104 53)

  • #437A41

    #437A41

    oklch(52.7% 0.105 143.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12749D 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.