#284BB9#284BB9

#284BB9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.178 H 265.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#284BB9
RGBrgb(40, 75, 185)
HSLhsl(226, 64%, 44%)
HSVhsv(226, 78%, 73%)
CMYKcmyk(78.4%, 59.5%, 0%, 27.5%)
CIE-LABlab(35.95, 27.90, -61.56)
CIE-LCHlch(35.95, 67.58, 294.38°)
OKLaboklab(45.83% -0.0126 -0.1779)
OKLCHoklch(45.83% 0.178 265.9)
XYZxyz(12.1450, 8.9847, 46.9837)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BB9 #B99628
analogous
#2894B9 #284BB9 #4E28B9
triadic
#284BB9 #B9284B #4BB928
tetradic
#284BB9 #B92894 #B99628 #28B94E
square
#284BB9 #B92894 #B99628 #28B94E
split-complementary
#284BB9 #B94E28 #94B928
monochromatic
#122254 #1D3787 #284BB9 #476AD7 #7993E2

Accessibility & contrast

On white

7.51
#284BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#284BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BB9
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BB9#FFFFFF#000000##FFFFFF
##284BB91.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #284bb9;
/* rgb */ color: rgb(40, 75, 185);
/* oklch */ color: oklch(45.8% 0.178 265.9);
Tailwind
colors: {
  custom: {
    50: '#797ccf',
    500: '#284bb9',
    950: '#000000',
  },
}
SCSS
$custom: #284bb9;
$custom-light: #797ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#284bb9",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 225.517,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.17833,
    "h": 265.9
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#284BB9
secondary
#CAB573
accent
#BF40E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #284BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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