#284DFF#284DFF

#284DFF is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.7% C 0.263 H 266.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#284DFF
RGBrgb(40, 77, 255)
HSLhsl(230, 100%, 58%)
HSVhsv(230, 84%, 100%)
CMYKcmyk(84.3%, 69.8%, 0%, 0%)
CIE-LABlab(42.73, 51.86, -90.50)
CIE-LCHlch(42.73, 104.30, 299.82°)
OKLaboklab(52.72% -0.0161 -0.2624)
OKLCHoklch(52.72% 0.263 266.5)
XYZxyz(21.5726, 12.9762, 95.9560)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DFF #FFDA28
analogous
#28B9FF #284DFF #6E28FF
triadic
#284DFF #FF284D #4DFF28
tetradic
#284DFF #FF28B9 #FFDA28 #28FF6E
square
#284DFF #FF28B9 #FFDA28 #28FF6E
split-complementary
#284DFF #FF6E28 #B9FF28
monochromatic
#001EAD #0028EA #284DFF #6580FF #A2B2FF

Accessibility & contrast

On white

5.84
#284DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#284DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #284DFF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DFF#FFFFFF#000000##FFFFFF
##284DFF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#005AFC
Tritanopia (blue-blind)
#0080A1
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #284dff;
/* rgb */ color: rgb(40, 77, 255);
/* oklch */ color: oklch(52.7% 0.263 266.5);
Tailwind
colors: {
  custom: {
    50: '#8a7fff',
    500: '#284dff',
    950: '#000000',
  },
}
SCSS
$custom: #284dff;
$custom-light: #8a7fff;
$custom-dark: #000000;
JSON
{
  "hex": "#284dff",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 229.674,
    "s": 100,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52715,
    "c": 0.26289,
    "h": 266.5
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#284DFF
secondary
#EDDE96
accent
#DA29FF
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0E0A18
muted
#7E7C86

Preview Lab

Preview with #284DFF

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

Preview Lab → · Contrast checker → · Palette generator →

#284DFF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva