#284BBD#284BBD

#284BBD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.184 H 266.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#284BBD
RGBrgb(40, 75, 189)
HSLhsl(226, 65%, 45%)
HSVhsv(226, 79%, 74%)
CMYKcmyk(78.8%, 60.3%, 0%, 25.9%)
CIE-LABlab(36.28, 29.41, -63.37)
CIE-LCHlch(36.28, 69.86, 294.89°)
OKLaboklab(46.18% -0.0125 -0.1832)
OKLCHoklch(46.18% 0.184 266.1)
XYZxyz(12.5732, 9.1559, 49.2389)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BBD #BD9A28
analogous
#2896BD #284BBD #4F28BD
triadic
#284BBD #BD284B #4BBD28
tetradic
#284BBD #BD2896 #BD9A28 #28BD4F
square
#284BBD #BD2896 #BD9A28 #28BD4F
split-complementary
#284BBD #BD4F28 #96BD28
monochromatic
#132358 #1D378A #284BBD #4A6BD9 #7C94E3

Accessibility & contrast

On white

7.42
#284BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#284BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BBD
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BBD#FFFFFF#000000##FFFFFF
##284BBD1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #284bbd;
/* rgb */ color: rgb(40, 75, 189);
/* oklch */ color: oklch(46.2% 0.184 266.1);
Tailwind
colors: {
  custom: {
    50: '#7a7cd2',
    500: '#284bbd',
    950: '#000000',
  },
}
SCSS
$custom: #284bbd;
$custom-light: #7a7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#284bbd",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 225.906,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.18363,
    "h": 266.1
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

primary
#284BBD
secondary
#CBB775
accent
#C140E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #284BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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