#0002FE#0002FE

#0002FE is a mid, highly saturated blue. Relative luminance 0.072; OKLCH L 45.1% C 0.312 H 264.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#0002FE
RGBrgb(0, 2, 254)
HSLhsl(240, 100%, 50%)
HSVhsv(240, 100%, 100%)
CMYKcmyk(100%, 99.2%, 0%, 0.4%)
CIE-LABlab(32.25, 78.65, -107.38)
CIE-LCHlch(32.25, 133.10, 306.22°)
OKLaboklab(45.13% -0.0322 -0.3102)
OKLCHoklch(45.13% 0.312 264.1)
XYZxyz(17.9049, 7.1967, 94.1921)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0002FE #FEFC00
analogous
#0081FE #0002FE #7D00FE
triadic
#0002FE #FE0002 #02FE00
tetradic
#0002FE #FE0081 #FEFC00 #00FE7D
square
#0002FE #FE0081 #FEFC00 #00FE7D
split-complementary
#0002FE #FE7D00 #81FE00
monochromatic
#000184 #0002C1 #0002FE #3C3EFF #797AFF

Accessibility & contrast

On white

8.61
#0002FE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#0002FE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0002FE
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0002FE#FFFFFF#000000##FFFFFF
##0002FE1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059FF
Deuteranopia (green-blind)
#003DFA
Tritanopia (blue-blind)
#006B95
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0002fe;
/* rgb */ color: rgb(0, 2, 254);
/* oklch */ color: oklch(45.1% 0.312 264.1);
Tailwind
colors: {
  custom: {
    50: '#8a5eff',
    500: '#0002fe',
    950: '#000000',
  },
}
SCSS
$custom: #0002fe;
$custom-light: #8a5eff;
$custom-dark: #000000;
JSON
{
  "hex": "#0002fe",
  "rgb": {
    "r": 0,
    "g": 2,
    "b": 254
  },
  "hsl": {
    "h": 239.528,
    "s": 100,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45132,
    "c": 0.31183,
    "h": 264.1
  },
  "luminance": 0.07199
}

Semantic roles & 50–950 ramp

primary
#0002FE
secondary
#E6E573
accent
#FD29FF
background
#FAF6FF
surface
#F3EBFF
border
#CDC6D7
text
#0F0518
muted
#7F7986

Preview Lab

Preview with #0002FE

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

Preview Lab → · Contrast checker → · Palette generator →

#0002FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva