#284BB4#284BB4

#284BB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.172 H 265.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#284BB4
RGBrgb(40, 75, 180)
HSLhsl(225, 64%, 43%)
HSVhsv(225, 78%, 71%)
CMYKcmyk(77.8%, 58.3%, 0%, 29.4%)
CIE-LABlab(35.55, 26.00, -59.26)
CIE-LCHlch(35.55, 64.71, 293.69°)
OKLaboklab(45.41% -0.0128 -0.1711)
OKLCHoklch(45.41% 0.172 265.7)
XYZxyz(11.6265, 8.7772, 44.2526)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BB4 #B49128
analogous
#2891B4 #284BB4 #4B28B4
triadic
#284BB4 #B4284B #4BB428
tetradic
#284BB4 #B42891 #B49128 #28B44B
square
#284BB4 #B42891 #B49128 #28B44B
split-complementary
#284BB4 #B44B28 #91B428
monochromatic
#122150 #1D3682 #284BB4 #4468D5 #7691E1

Accessibility & contrast

On white

7.62
#284BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#284BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BB4
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BB4#FFFFFF#000000##FFFFFF
##284BB41.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #284bb4;
/* rgb */ color: rgb(40, 75, 180);
/* oklch */ color: oklch(45.4% 0.172 265.7);
Tailwind
colors: {
  custom: {
    50: '#787ccb',
    500: '#284bb4',
    950: '#000000',
  },
}
SCSS
$custom: #284bb4;
$custom-light: #787ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#284bb4",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 225,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45405,
    "c": 0.17163,
    "h": 265.7
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#284BB4
secondary
#C8B270
accent
#BD41E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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