#0024FF#0024FF

#0024FF is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 47.0% C 0.301 H 264.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#0024FF
RGBrgb(0, 36, 255)
HSLhsl(232, 100%, 50%)
HSVhsv(232, 100%, 100%)
CMYKcmyk(100%, 85.9%, 0%, 0%)
CIE-LABlab(34.96, 71.01, -103.41)
CIE-LCHlch(34.96, 125.44, 304.48°)
OKLaboklab(47.01% -0.0304 -0.2994)
OKLCHoklch(47.01% 0.301 264.2)
XYZxyz(18.6746, 8.4792, 95.2407)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0024FF #FFDB00
analogous
#00A4FF #0024FF #5B00FF
triadic
#0024FF #FF0024 #24FF00
tetradic
#0024FF #FF00A4 #FFDB00 #00FF5B
square
#0024FF #FF00A4 #FFDB00 #00FF5B
split-complementary
#0024FF #FF5B00 #A4FF00
monochromatic
#001385 #001BC2 #0024FF #3D59FF #7A8DFF

Accessibility & contrast

On white

7.79
#0024FF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#0024FF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0024FF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0024FF#FFFFFF#000000##FFFFFF
##0024FF1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0024ff;
/* rgb */ color: rgb(0, 36, 255);
/* oklch */ color: oklch(47.0% 0.301 264.2);
Tailwind
colors: {
  custom: {
    50: '#8967ff',
    500: '#0024ff',
    950: '#000000',
  },
}
SCSS
$custom: #0024ff;
$custom-light: #8967ff;
$custom-dark: #000000;
JSON
{
  "hex": "#0024ff",
  "rgb": {
    "r": 0,
    "g": 36,
    "b": 255
  },
  "hsl": {
    "h": 231.529,
    "s": 100,
    "l": 50
  },
  "oklch": {
    "l": 0.4701,
    "c": 0.30095,
    "h": 264.2
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#0024FF
secondary
#E7D674
accent
#E129FF
background
#FAF6FF
surface
#F3EBFF
border
#CDC6D7
text
#0F0718
muted
#7F7A86

Preview Lab

Preview with #0024FF

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

Preview Lab → · Contrast checker → · Palette generator →

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