#284DC9#284DC9

#284DC9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.197 H 266.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#284DC9
RGBrgb(40, 77, 201)
HSLhsl(226, 67%, 47%)
HSVhsv(226, 80%, 79%)
CMYKcmyk(80.1%, 61.7%, 0%, 21.2%)
CIE-LABlab(37.80, 32.60, -67.90)
CIE-LCHlch(37.80, 75.32, 295.65°)
OKLaboklab(47.62% -0.0136 -0.1965)
OKLCHoklch(47.62% 0.197 266)
XYZxyz(14.0679, 9.9743, 56.4308)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DC9 #C9A428
analogous
#289EC9 #284DC9 #5328C9
triadic
#284DC9 #C9284D #4DC928
tetradic
#284DC9 #C9289E #C9A428 #28C953
square
#284DC9 #C9289E #C9A428 #28C953
split-complementary
#284DC9 #C95328 #9EC928
monochromatic
#142663 #1E3996 #284DC9 #5272DD #859BE7

Accessibility & contrast

On white

7.01
#284DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#284DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #284DC9
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DC9#FFFFFF#000000##FFFFFF
##284DC91.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #284dc9;
/* rgb */ color: rgb(40, 77, 201);
/* oklch */ color: oklch(47.6% 0.197 266.0);
Tailwind
colors: {
  custom: {
    50: '#7d7eda',
    500: '#284dc9',
    950: '#000000',
  },
}
SCSS
$custom: #284dc9;
$custom-light: #7d7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#284dc9",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 226.211,
    "s": 66.805,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47615,
    "c": 0.19692,
    "h": 266
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#284DC9
secondary
#D0BD7D
accent
#C23EEA
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #284DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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