#02638A

Closest named color: Peacock Blue (#016795). oklch(47.1% 0.099 234.5), rgb(2, 99, 138).

Aa

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

About this color

#02638A is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.099 and its hue 234°. Its hue sits on the cool side of the wheel. The nearest named color is Peacock Blue (#016795), ΔE 0.020 away. White text reads best on it, at 6.65:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest namePeacock Blue (#016795)
Black text3.15:1
White text6.65:1

Values

HEX#02638A
RGBrgb(2, 99, 138)
HSLhsl(197, 97%, 27%)
OKLCHoklch(47.1% 0.099 234.5)

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 #02638A 6.65:1 AA Lc -87.4 Fine for body text
Black text on #02638A 3.15:1 AA large text Lc 21.7 Dividers and decoration only
#02638A text on white 6.65:1 AA Lc 82.3 Fine for body text
#02638A text on black 3.15:1 AA large text Lc -19.6 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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C9DCE8

    oklch(88.4% 0.026 235.4)

  4. Step 300

    300

    #A3C6DB

    oklch(80.8% 0.048 234.5)

  5. Step 400

    400

    #70A9C9

    oklch(70.7% 0.076 233.9)

  6. Step 500

    500

    #4693BC

    oklch(63.2% 0.098 234.5)

  7. Step 600

    600

    #207CA8

    oklch(55.5% 0.106 234.9)

  8. Step 700

    700 (this color)

    #02638A

    oklch(47.1% 0.099 234.5)

  9. Step 800

    800

    #135675

    oklch(42.8% 0.081 234.1)

  10. Step 900

    900

    #19475E

    oklch(37.8% 0.063 233.8)

  11. Step 950

    950

    #102A37

    oklch(27.1% 0.04 232.6)

Export this scale for Tailwind in the Tailwind colors tool

#02638A 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)#50628C0.060
Deuteranopia (no green cones)#3F57890.049
Tritanopia (no blue cones)#006D700.060
Achromatopsia (no color)#5C5C5C0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #02638A

    #02638A

    oklch(47.1% 0.099 234.5)

  • #854A1D

    #854A1D

    oklch(47.2% 0.099 54.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02638A

    #02638A

    oklch(47.1% 0.099 234.5)

  • #006870

    #006870

    oklch(47.2% 0.08 204.1)

  • #3F5992

    #3F5992

    oklch(47.1% 0.098 264.4)

Open the analogous palette in the generator

Split complementary

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

  • #02638A

    #02638A

    oklch(47.1% 0.099 234.5)

  • #8A423F

    #8A423F

    oklch(47% 0.099 24)

  • #745600

    #745600

    oklch(47.2% 0.097 85)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02638A

    #02638A

    oklch(47.1% 0.099 234.5)

  • #85415E

    #85415E

    oklch(47% 0.099 354.7)

  • #5A6111

    #5A6111

    oklch(47.1% 0.099 114.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02638A

    #02638A

    oklch(47.1% 0.099 234.5)

  • #76467A

    #76467A

    oklch(47% 0.099 324.2)

  • #854A1D

    #854A1D

    oklch(47.2% 0.099 54.4)

  • #346936

    #346936

    oklch(47.1% 0.098 144.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02638A 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.