#284DB4#284DB4

#284DB4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.169 H 265.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#284DB4
RGBrgb(40, 77, 180)
HSLhsl(224, 64%, 43%)
HSVhsv(224, 78%, 71%)
CMYKcmyk(77.8%, 57.2%, 0%, 29.4%)
CIE-LABlab(36.09, 24.67, -58.39)
CIE-LCHlch(36.09, 63.39, 292.90°)
OKLaboklab(45.81% -0.0141 -0.1686)
OKLCHoklch(45.81% 0.169 265.2)
XYZxyz(11.7643, 9.0528, 44.2985)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DB4 #B48F28
analogous
#2893B4 #284DB4 #4928B4
triadic
#284DB4 #B4284D #4DB428
tetradic
#284DB4 #B42893 #B48F28 #28B449
square
#284DB4 #B42893 #B48F28 #28B449
split-complementary
#284DB4 #B44928 #93B428
monochromatic
#122250 #1D3882 #284DB4 #446AD5 #7692E1

Accessibility & contrast

On white

7.47
#284DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#284DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284DB4
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DB4#FFFFFF#000000##FFFFFF
##284DB41.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #284db4;
/* rgb */ color: rgb(40, 77, 180);
/* oklch */ color: oklch(45.8% 0.169 265.2);
Tailwind
colors: {
  custom: {
    50: '#787ecb',
    500: '#284db4',
    950: '#000000',
  },
}
SCSS
$custom: #284db4;
$custom-light: #787ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#284db4",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 180
  },
  "hsl": {
    "h": 224.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.16915,
    "h": 265.2
  },
  "luminance": 0.09054
}

Semantic roles & 50–950 ramp

primary
#284DB4
secondary
#C8B170
accent
#BB41E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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