#284EB9#284EB9

#284EB9 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.175 H 265.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#284EB9
RGBrgb(40, 78, 185)
HSLhsl(224, 64%, 44%)
HSVhsv(224, 78%, 73%)
CMYKcmyk(78.4%, 57.8%, 0%, 27.5%)
CIE-LABlab(36.75, 25.92, -60.27)
CIE-LCHlch(36.75, 65.60, 293.27°)
OKLaboklab(46.42% -0.0146 -0.174)
OKLCHoklch(46.42% 0.175 265.2)
XYZxyz(12.3533, 9.4013, 47.0531)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284EB9 #B99328
analogous
#2897B9 #284EB9 #4B28B9
triadic
#284EB9 #B9284E #4EB928
tetradic
#284EB9 #B92897 #B99328 #28B94B
square
#284EB9 #B92897 #B99328 #28B94B
split-complementary
#284EB9 #B94B28 #97B928
monochromatic
#122454 #1D3987 #284EB9 #476DD7 #7995E2

Accessibility & contrast

On white

7.29
#284EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#284EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284EB9
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284EB9#FFFFFF#000000##FFFFFF
##284EB91.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #284eb9;
/* rgb */ color: rgb(40, 78, 185);
/* oklch */ color: oklch(46.4% 0.175 265.2);
Tailwind
colors: {
  custom: {
    50: '#797fcf',
    500: '#284eb9',
    950: '#000000',
  },
}
SCSS
$custom: #284eb9;
$custom-light: #797fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#284eb9",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 224.276,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46424,
    "c": 0.17465,
    "h": 265.2
  },
  "luminance": 0.09403
}

Semantic roles & 50–950 ramp

primary
#284EB9
secondary
#CAB373
accent
#BC40E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #284EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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