#338EAF

Closest named color: Blue NCS (#118AB2). oklch(60.7% 0.097 226.1), rgb(51, 142, 175).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameBlue NCS (#118AB2)
Black text5.62:1
White text3.73:1

Values

HEX#338EAF
RGBrgb(51, 142, 175)
HSLhsl(196, 55%, 44%)
OKLCHoklch(60.7% 0.097 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 #338EAF 3.73:1 AA large text Lc -70.1 Content text, not long reading
Black text on #338EAF 5.62:1 AA Lc 39.5 Non-text elements, placeholder text
#338EAF text on white 3.73:1 AA large text Lc 64.6 Content text, not long reading
#338EAF text on black 5.62:1 AA Lc -37.1 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

    #C8DDE7

    oklch(88.5% 0.026 227.9)

  4. Step 300

    300

    #A1C8D8

    oklch(81% 0.047 224.8)

  5. Step 400

    400

    #6AABC5

    oklch(70.7% 0.076 225.5)

  6. Step 500

    500 (this color)

    #338EAF

    oklch(60.7% 0.097 226.1)

  7. Step 600

    600

    #027FA2

    oklch(55.6% 0.106 225.8)

  8. Step 700

    700

    #006B89

    oklch(49.1% 0.094 225.7)

  9. Step 800

    800

    #005771

    oklch(42.6% 0.082 226.6)

  10. Step 900

    900

    #11485B

    oklch(37.6% 0.064 225.9)

  11. Step 950

    950

    #0D2A35

    oklch(26.9% 0.04 226.2)

Export this scale for Tailwind in the Tailwind colors tool

#338EAF 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)#7C8BB10.073
Deuteranopia (no green cones)#6B7FAF0.064
Tritanopia (no blue cones)#0098990.054
Achromatopsia (no color)#8484840.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #338EAF

    #338EAF

    oklch(60.7% 0.097 226.1)

  • #B26F4F

    #B26F4F

    oklch(60.7% 0.097 45.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338EAF

    #338EAF

    oklch(60.7% 0.097 226.1)

  • #1D9496

    #1D9496

    oklch(60.7% 0.097 196.7)

  • #5B84BC

    #5B84BC

    oklch(60.7% 0.097 256.4)

Open the analogous palette in the generator

Split complementary

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

  • #338EAF

    #338EAF

    oklch(60.7% 0.097 226.1)

  • #B5696E

    #B5696E

    oklch(60.7% 0.097 16.2)

  • #A47A39

    #A47A39

    oklch(60.8% 0.097 75.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338EAF

    #338EAF

    oklch(60.7% 0.097 226.1)

  • #AC6A8F

    #AC6A8F

    oklch(60.7% 0.097 345.7)

  • #8A863B

    #8A863B

    oklch(60.8% 0.097 106.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338EAF

    #338EAF

    oklch(60.7% 0.097 226.1)

  • #9970AA

    #9970AA

    oklch(60.8% 0.097 315.7)

  • #B26F4F

    #B26F4F

    oklch(60.7% 0.097 45.9)

  • #679054

    #679054

    oklch(60.8% 0.098 136.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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