#338BAB

Closest named color: Blue NCS (#118AB2). oklch(59.8% 0.095 226.1), rgb(51, 139, 171).

Aa

Black text reads best on this color (5.42:1).

About this color

#338BAB is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 60%, its chroma 0.095 and its hue 226°. Its hue sits on the cool side of the wheel. The nearest named color is Blue NCS (#118AB2), ΔE 0.018 away. Black text reads best on it, at 5.42:1.

Hue familyTeals and cyans
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.095)
Temperaturecool
Nearest nameBlue NCS (#118AB2)
Black text5.42:1
White text3.87:1

Values

HEX#338BAB
RGBrgb(51, 139, 171)
HSLhsl(196, 54%, 44%)
OKLCHoklch(59.8% 0.095 226.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 #338BAB 3.87:1 AA large text Lc -71.4 Content text, not long reading
Black text on #338BAB 5.42:1 AA Lc 38.2 Non-text elements, placeholder text
#338BAB text on white 3.87:1 AA large text Lc 65.9 Content text, not long reading
#338BAB text on black 5.42:1 AA Lc -35.8 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C8DDE6

    oklch(88.5% 0.026 225.3)

  4. Step 300

    300

    #A2C7D8

    oklch(80.8% 0.046 227.5)

  5. Step 400

    400

    #6CABC4

    oklch(70.8% 0.074 225.2)

  6. Step 500

    500 (this color)

    #338BAB

    oklch(59.8% 0.095 226.1)

  7. Step 600

    600

    #0E7FA1

    oklch(55.6% 0.103 225.7)

  8. Step 700

    700

    #006B89

    oklch(49.1% 0.094 225.7)

  9. Step 800

    800

    #065770

    oklch(42.6% 0.08 226.3)

  10. Step 900

    900

    #14485B

    oklch(37.7% 0.062 226.7)

  11. Step 950

    950

    #0E2A35

    oklch(26.9% 0.039 226.8)

Export this scale for Tailwind in the Tailwind colors tool

#338BAB 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)#7A88AD0.072
Deuteranopia (no green cones)#697CAB0.063
Tritanopia (no blue cones)#0094950.053
Achromatopsia (no color)#8181810.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #338BAB

    #338BAB

    oklch(59.8% 0.095 226.1)

  • #AE6D4D

    #AE6D4D

    oklch(59.8% 0.095 46.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338BAB

    #338BAB

    oklch(59.8% 0.095 226.1)

  • #1F9192

    #1F9192

    oklch(59.8% 0.095 195.8)

  • #5981B8

    #5981B8

    oklch(59.7% 0.096 256.6)

Open the analogous palette in the generator

Split complementary

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

  • #338BAB

    #338BAB

    oklch(59.8% 0.095 226.1)

  • #B1676C

    #B1676C

    oklch(59.8% 0.095 16)

  • #A07738

    #A07738

    oklch(59.7% 0.095 75.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338BAB

    #338BAB

    oklch(59.8% 0.095 226.1)

  • #A9688C

    #A9688C

    oklch(59.9% 0.095 346)

  • #87833A

    #87833A

    oklch(59.8% 0.095 106.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338BAB

    #338BAB

    oklch(59.8% 0.095 226.1)

  • #966EA6

    #966EA6

    oklch(59.9% 0.094 316)

  • #AE6D4D

    #AE6D4D

    oklch(59.8% 0.095 46.6)

  • #658D52

    #658D52

    oklch(59.9% 0.096 136.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #338BAB 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.