#024EFE#024EFE

#024EFE is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.266 H 263.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#024EFE
RGBrgb(2, 78, 254)
HSLhsl(222, 99%, 50%)
HSVhsv(222, 99%, 100%)
CMYKcmyk(99.2%, 69.3%, 0%, 0.4%)
CIE-LABlab(42.18, 49.74, -90.87)
CIE-LCHlch(42.18, 103.59, 298.69°)
OKLaboklab(52.1% -0.0314 -0.2638)
OKLCHoklch(52.1% 0.266 263.2)
XYZxyz(20.6324, 12.6146, 95.0941)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#024EFE #FEB202
analogous
#02CCFE #024EFE #3402FE
triadic
#024EFE #FE024E #4EFE02
tetradic
#024EFE #FE02CC #FEB202 #02FE34
square
#024EFE #FE02CC #FEB202 #02FE34
split-complementary
#024EFE #FE3402 #CCFE02
monochromatic
#012985 #013BC2 #024EFE #3F79FE #7CA3FE

Accessibility & contrast

On white

5.96
#024EFE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#024EFE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #024EFE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##024EFE#FFFFFF#000000##FFFFFF
##024EFE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#0058FB
Tritanopia (blue-blind)
#0080A0
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #024efe;
/* rgb */ color: rgb(2, 78, 254);
/* oklch */ color: oklch(52.1% 0.266 263.2);
Tailwind
colors: {
  custom: {
    50: '#8580ff',
    500: '#024efe',
    950: '#000000',
  },
}
SCSS
$custom: #024efe;
$custom-light: #8580ff;
$custom-dark: #000000;
JSON
{
  "hex": "#024efe",
  "rgb": {
    "r": 2,
    "g": 78,
    "b": 254
  },
  "hsl": {
    "h": 221.905,
    "s": 99.213,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.26563,
    "h": 263.2
  },
  "luminance": 0.12617
}

Semantic roles & 50–950 ramp

primary
#024EFE
secondary
#E6C476
accent
#BE29FF
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0E0A18
muted
#7E7C86

Preview Lab

Preview with #024EFE

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

Preview Lab → · Contrast checker → · Palette generator →

#024EFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva