#284EBD#284EBD

#284EBD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.180 H 265.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#284EBD
RGBrgb(40, 78, 189)
HSLhsl(225, 65%, 45%)
HSVhsv(225, 79%, 74%)
CMYKcmyk(78.8%, 58.7%, 0%, 25.9%)
CIE-LABlab(37.06, 27.44, -62.10)
CIE-LCHlch(37.06, 67.89, 293.84°)
OKLaboklab(46.76% -0.0144 -0.1794)
OKLCHoklch(46.76% 0.18 265.4)
XYZxyz(12.7815, 9.5725, 49.3083)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284EBD #BD9728
analogous
#2899BD #284EBD #4C28BD
triadic
#284EBD #BD284E #4EBD28
tetradic
#284EBD #BD2899 #BD9728 #28BD4C
square
#284EBD #BD2899 #BD9728 #28BD4C
split-complementary
#284EBD #BD4C28 #99BD28
monochromatic
#132458 #1D398A #284EBD #4A6ED9 #7C96E3

Accessibility & contrast

On white

7.20
#284EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#284EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284EBD
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284EBD#FFFFFF#000000##FFFFFF
##284EBD1.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #284ebd;
/* rgb */ color: rgb(40, 78, 189);
/* oklch */ color: oklch(46.8% 0.180 265.4);
Tailwind
colors: {
  custom: {
    50: '#7a7fd2',
    500: '#284ebd',
    950: '#000000',
  },
}
SCSS
$custom: #284ebd;
$custom-light: #7a7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#284ebd",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 224.698,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46762,
    "c": 0.18,
    "h": 265.4
  },
  "luminance": 0.09574
}

Semantic roles & 50–950 ramp

primary
#284EBD
secondary
#CBB675
accent
#BD40E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #284EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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