#284BD1#284BD1

#284BD1 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.0% C 0.209 H 266.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#284BD1
RGBrgb(40, 75, 209)
HSLhsl(228, 68%, 49%)
HSVhsv(228, 81%, 82%)
CMYKcmyk(80.9%, 64.1%, 0%, 18%)
CIE-LABlab(37.99, 36.84, -72.20)
CIE-LCHlch(37.99, 81.06, 297.03°)
OKLaboklab(47.97% -0.0127 -0.2091)
OKLCHoklch(47.97% 0.209 266.5)
XYZxyz(14.8957, 10.0849, 61.4708)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BD1 #D1AE28
analogous
#28A0D1 #284BD1 #5A28D1
triadic
#284BD1 #D1284B #4BD128
tetradic
#284BD1 #D128A0 #D1AE28 #28D15A
square
#284BD1 #D128A0 #D1AE28 #28D15A
split-complementary
#284BD1 #D15A28 #A0D128
monochromatic
#14266A #1E399E #284BD1 #5773DF #8B9EE9

Accessibility & contrast

On white

6.96
#284BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#284BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #284BD1
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BD1#FFFFFF#000000##FFFFFF
##284BD11.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0052CE
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #284bd1;
/* rgb */ color: rgb(40, 75, 209);
/* oklch */ color: oklch(48.0% 0.209 266.5);
Tailwind
colors: {
  custom: {
    50: '#7f7de0',
    500: '#284bd1',
    950: '#000000',
  },
}
SCSS
$custom: #284bd1;
$custom-light: #7f7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#284bd1",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 227.574,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.20945,
    "h": 266.5
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#284BD1
secondary
#D3C282
accent
#C73DEB
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #284BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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