#04B8F8

Closest named color: Deep Sky Blue (#00BFFF). oklch(73.6% 0.151 232.7), rgb(4, 184, 248).

Aa

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

About this color

#04B8F8 is a medium-light, vivid blue. In OKLCH its lightness is 74%, its chroma 0.151 and its hue 233°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sky Blue (#00BFFF), ΔE 0.020 away. Black text reads best on it, at 9.21:1.

Hue familyBlues
Lightnessmedium-light (74%)
Chromavivid (0.151)
Temperaturecool
Nearest nameDeep Sky Blue (#00BFFF)
Black text9.21:1
White text2.27:1

Values

HEX#04B8F8
RGBrgb(4, 184, 248)
HSLhsl(196, 97%, 49%)
OKLCHoklch(73.6% 0.151 232.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 #04B8F8 2.27:1 Fails Lc -49.0 Large or bold text, headings
Black text on #04B8F8 9.21:1 AAA Lc 59.7 Large or bold text, headings
#04B8F8 text on white 2.27:1 Fails Lc 44.2 Non-text elements, placeholder text
#04B8F8 text on black 9.21:1 AAA Lc -57.9 Large or bold text, headings

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

  1. Step 50

    50

    #EEF7FD

    oklch(97.1% 0.013 236.6)

  2. Step 100

    100

    #D9EEF9

    oklch(93.7% 0.027 230.4)

  3. Step 200

    200

    #B8E0F6

    oklch(88.5% 0.052 232.2)

  4. Step 300

    300

    #80CCF4

    oklch(81% 0.094 232.6)

  5. Step 400

    400 (this color)

    #04B8F8

    oklch(73.6% 0.151 232.7)

  6. Step 500

    500

    #0095CA

    oklch(63% 0.13 232.7)

  7. Step 600

    600

    #007DAB

    oklch(55.5% 0.115 233.2)

  8. Step 700

    700

    #006990

    oklch(49% 0.101 232.9)

  9. Step 800

    800

    #005677

    oklch(42.6% 0.088 233.1)

  10. Step 900

    900

    #004864

    oklch(37.8% 0.078 232.8)

  11. Step 950

    950

    #002B3D

    oklch(27.1% 0.055 231.9)

Export this scale for Tailwind in the Tailwind colors tool

#04B8F8 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)#98B6FB0.096
Deuteranopia (no green cones)#7BA3F70.080
Tritanopia (no blue cones)#00C9CE0.089
Achromatopsia (no color)#ACACAC0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #04B8F8

    #04B8F8

    oklch(73.6% 0.151 232.7)

  • #F28B44

    #F28B44

    oklch(73.5% 0.151 52.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04B8F8

    #04B8F8

    oklch(73.6% 0.151 232.7)

  • #00C0CC

    #00C0CC

    oklch(73.6% 0.125 202.8)

  • #7BA8FF

    #7BA8FF

    oklch(73.6% 0.136 262.7)

Open the analogous palette in the generator

Split complementary

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

  • #04B8F8

    #04B8F8

    oklch(73.6% 0.151 232.7)

  • #FA7F7D

    #FA7F7D

    oklch(73.6% 0.151 22.4)

  • #D89F04

    #D89F04

    oklch(73.7% 0.151 82.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04B8F8

    #04B8F8

    oklch(73.6% 0.151 232.7)

  • #F07EB2

    #F07EB2

    oklch(73.5% 0.151 352.7)

  • #ABB22A

    #ABB22A

    oklch(73.5% 0.15 112.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04B8F8

    #04B8F8

    oklch(73.6% 0.151 232.7)

  • #D687E1

    #D687E1

    oklch(73.6% 0.151 322.5)

  • #F28B44

    #F28B44

    oklch(73.5% 0.151 52.5)

  • #6CC166

    #6CC166

    oklch(73.6% 0.151 142.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04B8F8 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.