#284FD1#284FD1

#284FD1 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 48.7% C 0.205 H 265.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#284FD1
RGBrgb(40, 79, 209)
HSLhsl(226, 68%, 49%)
HSVhsv(226, 81%, 82%)
CMYKcmyk(80.9%, 62.2%, 0%, 18%)
CIE-LABlab(38.98, 34.29, -70.60)
CIE-LCHlch(38.98, 78.48, 295.91°)
OKLaboklab(48.7% -0.0147 -0.2043)
OKLCHoklch(48.7% 0.205 265.9)
XYZxyz(15.1756, 10.6447, 61.5640)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284FD1 #D1AA28
analogous
#28A4D1 #284FD1 #5628D1
triadic
#284FD1 #D1284F #4FD128
tetradic
#284FD1 #D128A4 #D1AA28 #28D156
square
#284FD1 #D128A4 #D1AA28 #28D156
split-complementary
#284FD1 #D15628 #A4D128
monochromatic
#14286A #1E3C9E #284FD1 #5777DF #8BA0E9

Accessibility & contrast

On white

6.71
#284FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#284FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #284FD1
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284FD1#FFFFFF#000000##FFFFFF
##284FD11.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0054CF
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #284fd1;
/* rgb */ color: rgb(40, 79, 209);
/* oklch */ color: oklch(48.7% 0.205 265.9);
Tailwind
colors: {
  custom: {
    50: '#7f80e0',
    500: '#284fd1',
    950: '#000000',
  },
}
SCSS
$custom: #284fd1;
$custom-light: #7f80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#284fd1",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 226.154,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48699,
    "c": 0.20485,
    "h": 265.9
  },
  "luminance": 0.10647
}

Semantic roles & 50–950 ramp

primary
#284FD1
secondary
#D3C082
accent
#C33DEB
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #284FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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