#284DB1#284DB1

#284DB1 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.165 H 265.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#284DB1
RGBrgb(40, 77, 177)
HSLhsl(224, 63%, 43%)
HSVhsv(224, 77%, 69%)
CMYKcmyk(77.4%, 56.5%, 0%, 30.6%)
CIE-LABlab(35.85, 23.52, -57.00)
CIE-LCHlch(35.85, 61.66, 292.43°)
OKLaboklab(45.56% -0.0143 -0.1645)
OKLCHoklch(45.56% 0.165 265)
XYZxyz(11.4620, 8.9319, 42.7064)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DB1 #B18C28
analogous
#2891B1 #284DB1 #4828B1
triadic
#284DB1 #B1284D #4DB128
tetradic
#284DB1 #B12891 #B18C28 #28B148
square
#284DB1 #B12891 #B18C28 #28B148
split-complementary
#284DB1 #B14828 #91B128
monochromatic
#11224D #1D377F #284DB1 #4269D4 #7491E0

Accessibility & contrast

On white

7.54
#284DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#284DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284DB1
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DB1#FFFFFF#000000##FFFFFF
##284DB11.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #284db1;
/* rgb */ color: rgb(40, 77, 177);
/* oklch */ color: oklch(45.6% 0.165 265.0);
Tailwind
colors: {
  custom: {
    50: '#777ec9',
    500: '#284db1',
    950: '#000000',
  },
}
SCSS
$custom: #284db1;
$custom-light: #777ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#284db1",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 223.796,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45557,
    "c": 0.16508,
    "h": 265
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

primary
#284DB1
secondary
#C7AF6E
accent
#BA42E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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