#04768B

Closest named color: Ocean (#017B92). oklch(52.2% 0.092 216), rgb(4, 118, 139).

Aa

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

About this color

#04768B is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 52%, its chroma 0.092 and its hue 216°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean (#017B92), ΔE 0.017 away. White text reads best on it, at 5.29:1.

Hue familyTeals and cyans
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameOcean (#017B92)
Black text3.96:1
White text5.29:1

Values

HEX#04768B
RGBrgb(4, 118, 139)
HSLhsl(189, 94%, 28%)
OKLCHoklch(52.2% 0.092 216)

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 #04768B 5.29:1 AA Lc -81.1 Fine for body text
Black text on #04768B 3.96:1 AA large text Lc 28.3 Dividers and decoration only
#04768B text on white 5.29:1 AA Lc 75.8 Fine for body text
#04768B text on black 3.96:1 AA large text Lc -26.0 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 700.

  1. Step 50

    50

    #F1F6F8

    oklch(97% 0.006 223.5)

  2. Step 100

    100

    #E1ECEF

    oklch(93.6% 0.012 215.8)

  3. Step 200

    200

    #C8DEE4

    oklch(88.6% 0.025 215.9)

  4. Step 300

    300

    #A1C8D3

    oklch(80.8% 0.044 216.8)

  5. Step 400

    400

    #6BACBD

    oklch(70.7% 0.071 216.3)

  6. Step 500

    500

    #3B97AC

    oklch(63.1% 0.091 215.6)

  7. Step 600

    600

    #008198

    oklch(55.6% 0.099 216.1)

  8. Step 700

    700 (this color)

    #04768B

    oklch(52.2% 0.092 216)

  9. Step 800

    800

    #005969

    oklch(42.7% 0.076 215.4)

  10. Step 900

    900

    #114956

    oklch(37.6% 0.06 217)

  11. Step 950

    950

    #0D2B32

    oklch(27% 0.037 215.6)

Export this scale for Tailwind in the Tailwind colors tool

#04768B 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)#68728C0.081
Deuteranopia (no green cones)#58678B0.071
Tritanopia (no blue cones)#007D7D0.036
Achromatopsia (no color)#6B6B6B0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #04768B

    #04768B

    oklch(52.2% 0.092 216)

  • #965543

    #965543

    oklch(52.1% 0.091 36.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04768B

    #04768B

    oklch(52.2% 0.092 216)

  • #007A71

    #007A71

    oklch(52.1% 0.092 185.9)

  • #386E9B

    #386E9B

    oklch(52.2% 0.092 245.9)

Open the analogous palette in the generator

Split complementary

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

  • #04768B

    #04768B

    oklch(52.2% 0.092 216)

  • #955261

    #955261

    oklch(52.2% 0.091 6.3)

  • #8D5E29

    #8D5E29

    oklch(52.2% 0.092 66.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04768B

    #04768B

    oklch(52.2% 0.092 216)

  • #8A547D

    #8A547D

    oklch(52.1% 0.091 336.2)

  • #796921

    #796921

    oklch(52.2% 0.092 96.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04768B

    #04768B

    oklch(52.2% 0.092 216)

  • #775B93

    #775B93

    oklch(52.2% 0.091 306.5)

  • #965543

    #965543

    oklch(52.1% 0.091 36.3)

  • #5C7335

    #5C7335

    oklch(52.2% 0.092 126.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04768B 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.