#0808FF#0808FF

#0808FF is a mid, highly saturated blue. Relative luminance 0.074; OKLCH L 45.6% C 0.311 H 264.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#0808FF
RGBrgb(8, 8, 255)
HSLhsl(240, 100%, 52%)
HSVhsv(240, 97%, 100%)
CMYKcmyk(96.9%, 96.9%, 0%, 0%)
CIE-LABlab(32.79, 78.03, -107.03)
CIE-LCHlch(32.79, 132.45, 306.10°)
OKLaboklab(45.57% -0.0292 -0.3092)
OKLCHoklch(45.57% 0.311 264.6)
XYZxyz(18.2307, 7.4428, 95.0640)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0808FF #FFFF08
analogous
#0884FF #0808FF #8408FF
triadic
#0808FF #FF0808 #08FF08
tetradic
#0808FF #FF0884 #FFFF08 #08FF84
square
#0808FF #FF0884 #FFFF08 #08FF84
split-complementary
#0808FF #FF8408 #84FF08
monochromatic
#00008D #0000CA #0808FF #4545FF #8282FF

Accessibility & contrast

On white

8.44
#0808FF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#0808FF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0808FF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0808FF#FFFFFF#000000##FFFFFF
##0808FF1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AFF
Deuteranopia (green-blind)
#003FFB
Tritanopia (blue-blind)
#006C96
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0808ff;
/* rgb */ color: rgb(8, 8, 255);
/* oklch */ color: oklch(45.6% 0.311 264.6);
Tailwind
colors: {
  custom: {
    50: '#8b5fff',
    500: '#0808ff',
    950: '#000000',
  },
}
SCSS
$custom: #0808ff;
$custom-light: #8b5fff;
$custom-dark: #000000;
JSON
{
  "hex": "#0808ff",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 255
  },
  "hsl": {
    "h": 240,
    "s": 100,
    "l": 51.569
  },
  "oklch": {
    "l": 0.45568,
    "c": 0.3106,
    "h": 264.6
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#0808FF
secondary
#E8E87B
accent
#FF29FF
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#0F0618
muted
#7F7A86

Preview Lab

Preview with #0808FF

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

Preview Lab → · Contrast checker → · Palette generator →

#0808FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva