#04A8FF#04A8FF

#04A8FF is a light, vivid cyan. Relative luminance 0.353; OKLCH L 70.3% C 0.169 H 243.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#04A8FF
RGBrgb(4, 168, 255)
HSLhsl(201, 100%, 51%)
HSVhsv(201, 98%, 100%)
CMYKcmyk(98.4%, 34.1%, 0%, 0%)
CIE-LABlab(65.94, -5.01, -52.94)
CIE-LCHlch(65.94, 53.17, 264.59°)
OKLaboklab(70.29% -0.0768 -0.1509)
OKLCHoklch(70.29% 0.169 243)
XYZxyz(32.0955, 35.2467, 99.7000)
Luminance0.3525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04A8FF #FF5B04
analogous
#04FFD9 #04A8FF #042AFF
triadic
#04A8FF #FF04A8 #A8FF04
tetradic
#04A8FF #D904FF #FF5B04 #2AFF04
square
#04A8FF #D904FF #FF5B04 #2AFF04
split-complementary
#04A8FF #FF042A #FFD904
monochromatic
#005989 #0081C6 #04A8FF #41BDFF #7ED2FF

Accessibility & contrast

On white

2.61
#04A8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#04A8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #04A8FF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04A8FF#FFFFFF#000000##000000
##04A8FF1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#5D97FD
Tritanopia (blue-blind)
#00BEC8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #04a8ff;
/* rgb */ color: rgb(4, 168, 255);
/* oklch */ color: oklch(70.3% 0.169 243.0);
Tailwind
colors: {
  custom: {
    50: '#82c1ff',
    500: '#04a8ff',
    950: '#000000',
  },
}
SCSS
$custom: #04a8ff;
$custom-light: #82c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#04a8ff",
  "rgb": {
    "r": 4,
    "g": 168,
    "b": 255
  },
  "hsl": {
    "h": 200.797,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.70286,
    "c": 0.16935,
    "h": 243
  },
  "luminance": 0.35251
}

Semantic roles & 50–950 ramp

primary
#04A8FF
secondary
#E79E78
accent
#7329FF
background
#F9FBFF
surface
#F1F7FF
border
#CBD0D7
text
#0D1218
muted
#7E8186

Preview Lab

Preview with #04A8FF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#04A8FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva