#04638D

Closest named color: Peacock Blue (#016795). oklch(47.3% 0.101 236.7), rgb(4, 99, 141).

Aa

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

About this color

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

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

Values

HEX#04638D
RGBrgb(4, 99, 141)
HSLhsl(198, 94%, 28%)
OKLCHoklch(47.3% 0.101 236.7)

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 #04638D 6.61:1 AA Lc -87.3 Fine for body text
Black text on #04638D 3.17:1 AA large text Lc 21.9 Dividers and decoration only
#04638D text on white 6.61:1 AA Lc 82.2 Fine for body text
#04638D text on black 3.17:1 AA large text Lc -19.7 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

    #C9DCE9

    oklch(88.4% 0.027 237.6)

  4. Step 300

    300

    #A3C6DD

    oklch(80.9% 0.05 237)

  5. Step 400

    400

    #70A8CC

    oklch(70.6% 0.079 237.6)

  6. Step 500

    500

    #4692BE

    oklch(63% 0.1 236.8)

  7. Step 600

    600

    #207CAB

    oklch(55.7% 0.109 236.7)

  8. Step 700

    700 (this color)

    #04638D

    oklch(47.3% 0.101 236.7)

  9. Step 800

    800

    #135577

    oklch(42.7% 0.084 236.9)

  10. Step 900

    900

    #194660

    oklch(37.6% 0.066 237.6)

  11. Step 950

    950

    #102938

    oklch(26.9% 0.042 237.4)

Export this scale for Tailwind in the Tailwind colors tool

#04638D 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)#4E638F0.057
Deuteranopia (no green cones)#3D588C0.045
Tritanopia (no blue cones)#006E720.064
Achromatopsia (no color)#5D5D5D0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #04638D

    #04638D

    oklch(47.3% 0.101 236.7)

  • #864B18

    #864B18

    oklch(47.5% 0.101 56.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04638D

    #04638D

    oklch(47.3% 0.101 236.7)

  • #006873

    #006873

    oklch(47.3% 0.081 207.5)

  • #415995

    #415995

    oklch(47.4% 0.102 266.2)

Open the analogous palette in the generator

Split complementary

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

  • #04638D

    #04638D

    oklch(47.3% 0.101 236.7)

  • #8C423C

    #8C423C

    oklch(47.3% 0.102 26.4)

  • #735700

    #735700

    oklch(47.3% 0.097 86.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04638D

    #04638D

    oklch(47.3% 0.101 236.7)

  • #87415D

    #87415D

    oklch(47.3% 0.101 356.4)

  • #586210

    #586210

    oklch(47.2% 0.101 116.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04638D

    #04638D

    oklch(47.3% 0.101 236.7)

  • #79467A

    #79467A

    oklch(47.4% 0.101 326.3)

  • #864B18

    #864B18

    oklch(47.5% 0.101 56.8)

  • #2F6B38

    #2F6B38

    oklch(47.4% 0.102 146.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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