#0224FE#0224FE

#0224FE is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.9% C 0.300 H 264.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#0224FE
RGBrgb(2, 36, 254)
HSLhsl(232, 99%, 50%)
HSVhsv(232, 99%, 100%)
CMYKcmyk(99.2%, 85.8%, 0%, 0.4%)
CIE-LABlab(34.86, 70.75, -103.02)
CIE-LCHlch(34.86, 124.97, 304.48°)
OKLaboklab(46.91% -0.0296 -0.2983)
OKLCHoklch(46.91% 0.3 264.3)
XYZxyz(18.5391, 8.4279, 94.3963)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0224FE #FEDC02
analogous
#02A2FE #0224FE #5E02FE
triadic
#0224FE #FE0224 #24FE02
tetradic
#0224FE #FE02A2 #FEDC02 #02FE5E
square
#0224FE #FE02A2 #FEDC02 #02FE5E
split-complementary
#0224FE #FE5E02 #A2FE02
monochromatic
#011285 #011BC2 #0224FE #3F59FE #7C8EFE

Accessibility & contrast

On white

7.82
#0224FE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#0224FE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0224FE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0224FE#FFFFFF#000000##FFFFFF
##0224FE1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EFF
Deuteranopia (green-blind)
#0045FB
Tritanopia (blue-blind)
#007098
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0224fe;
/* rgb */ color: rgb(2, 36, 254);
/* oklch */ color: oklch(46.9% 0.300 264.3);
Tailwind
colors: {
  custom: {
    50: '#8967ff',
    500: '#0224fe',
    950: '#000000',
  },
}
SCSS
$custom: #0224fe;
$custom-light: #8967ff;
$custom-dark: #000000;
JSON
{
  "hex": "#0224fe",
  "rgb": {
    "r": 2,
    "g": 36,
    "b": 254
  },
  "hsl": {
    "h": 231.905,
    "s": 99.213,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46911,
    "c": 0.29975,
    "h": 264.3
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#0224FE
secondary
#E6D776
accent
#E229FF
background
#FAF6FF
surface
#F3EBFF
border
#CDC6D7
text
#0F0718
muted
#7F7A86

Preview Lab

Preview with #0224FE

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

Preview Lab → · Contrast checker → · Palette generator →

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