#284DD1#284DD1

#284DD1 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.3% C 0.207 H 266.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#284DD1
RGBrgb(40, 77, 209)
HSLhsl(227, 68%, 49%)
HSVhsv(227, 81%, 82%)
CMYKcmyk(80.9%, 63.2%, 0%, 18%)
CIE-LABlab(38.48, 35.57, -71.40)
CIE-LCHlch(38.48, 79.77, 296.48°)
OKLaboklab(48.33% -0.0137 -0.2067)
OKLCHoklch(48.33% 0.207 266.2)
XYZxyz(15.0335, 10.3605, 61.5167)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DD1 #D1AC28
analogous
#28A2D1 #284DD1 #5828D1
triadic
#284DD1 #D1284D #4DD128
tetradic
#284DD1 #D128A2 #D1AC28 #28D158
square
#284DD1 #D128A2 #D1AC28 #28D158
split-complementary
#284DD1 #D15828 #A2D128
monochromatic
#14276A #1E3A9E #284DD1 #5775DF #8B9FE9

Accessibility & contrast

On white

6.84
#284DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#284DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #284DD1
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DD1#FFFFFF#000000##FFFFFF
##284DD11.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0053CF
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #284dd1;
/* rgb */ color: rgb(40, 77, 209);
/* oklch */ color: oklch(48.3% 0.207 266.2);
Tailwind
colors: {
  custom: {
    50: '#7f7ee0',
    500: '#284dd1',
    950: '#000000',
  },
}
SCSS
$custom: #284dd1;
$custom-light: #7f7ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#284dd1",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 209
  },
  "hsl": {
    "h": 226.864,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48333,
    "c": 0.20716,
    "h": 266.2
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#284DD1
secondary
#D3C182
accent
#C53DEB
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #284DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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