#284CB9#284CB9

#284CB9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.177 H 265.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#284CB9
RGBrgb(40, 76, 185)
HSLhsl(225, 64%, 44%)
HSVhsv(225, 78%, 73%)
CMYKcmyk(78.4%, 58.9%, 0%, 27.5%)
CIE-LABlab(36.22, 27.24, -61.13)
CIE-LCHlch(36.22, 66.92, 294.02°)
OKLaboklab(46.03% -0.0133 -0.1766)
OKLCHoklch(46.03% 0.177 265.7)
XYZxyz(12.2134, 9.1214, 47.0064)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284CB9 #B99528
analogous
#2895B9 #284CB9 #4C28B9
triadic
#284CB9 #B9284C #4CB928
tetradic
#284CB9 #B92895 #B99528 #28B94C
square
#284CB9 #B92895 #B99528 #28B94C
split-complementary
#284CB9 #B94C28 #95B928
monochromatic
#122354 #1D3787 #284CB9 #476BD7 #7993E2

Accessibility & contrast

On white

7.43
#284CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#284CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284CB9
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284CB9#FFFFFF#000000##FFFFFF
##284CB91.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #284cb9;
/* rgb */ color: rgb(40, 76, 185);
/* oklch */ color: oklch(46.0% 0.177 265.7);
Tailwind
colors: {
  custom: {
    50: '#797dcf',
    500: '#284cb9',
    950: '#000000',
  },
}
SCSS
$custom: #284cb9;
$custom-light: #797dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#284cb9",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 225.103,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46028,
    "c": 0.17711,
    "h": 265.7
  },
  "luminance": 0.09123
}

Semantic roles & 50–950 ramp

primary
#284CB9
secondary
#CAB473
accent
#BE40E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #284CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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