#0028FF#0028FF

#0028FF is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 47.4% C 0.299 H 264.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#0028FF
RGBrgb(0, 40, 255)
HSLhsl(231, 100%, 50%)
HSVhsv(231, 100%, 100%)
CMYKcmyk(100%, 84.3%, 0%, 0%)
CIE-LABlab(35.47, 69.49, -102.56)
CIE-LCHlch(35.47, 123.88, 304.12°)
OKLaboklab(47.36% -0.0301 -0.2971)
OKLCHoklch(47.36% 0.299 264.2)
XYZxyz(18.8025, 8.7350, 95.2833)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0028FF #FFD700
analogous
#00A8FF #0028FF #5700FF
triadic
#0028FF #FF0028 #28FF00
tetradic
#0028FF #FF00A8 #FFD700 #00FF57
square
#0028FF #FF00A8 #FFD700 #00FF57
split-complementary
#0028FF #FF5700 #A8FF00
monochromatic
#001585 #001EC2 #0028FF #3D5CFF #7A8FFF

Accessibility & contrast

On white

7.64
#0028FF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#0028FF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0028FF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0028FF#FFFFFF#000000##FFFFFF
##0028FF1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060FF
Deuteranopia (green-blind)
#0046FC
Tritanopia (blue-blind)
#007299
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0028ff;
/* rgb */ color: rgb(0, 40, 255);
/* oklch */ color: oklch(47.4% 0.299 264.2);
Tailwind
colors: {
  custom: {
    50: '#8869ff',
    500: '#0028ff',
    950: '#000000',
  },
}
SCSS
$custom: #0028ff;
$custom-light: #8869ff;
$custom-dark: #000000;
JSON
{
  "hex": "#0028ff",
  "rgb": {
    "r": 0,
    "g": 40,
    "b": 255
  },
  "hsl": {
    "h": 230.588,
    "s": 100,
    "l": 50
  },
  "oklch": {
    "l": 0.4736,
    "c": 0.2986,
    "h": 264.2
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#0028FF
secondary
#E7D574
accent
#DD29FF
background
#F9F6FF
surface
#F2EBFF
border
#CCC6D7
text
#0F0718
muted
#7E7A86

Preview Lab

Preview with #0028FF

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

Preview Lab → · Contrast checker → · Palette generator →

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