#284DBF#284DBF

#284DBF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.184 H 265.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#284DBF
RGBrgb(40, 77, 191)
HSLhsl(225, 65%, 45%)
HSVhsv(225, 79%, 75%)
CMYKcmyk(79.1%, 59.7%, 0%, 25.1%)
CIE-LABlab(36.96, 28.85, -63.43)
CIE-LCHlch(36.96, 69.68, 294.46°)
OKLaboklab(46.74% -0.0137 -0.1833)
OKLCHoklch(46.74% 0.184 265.7)
XYZxyz(12.9296, 9.5190, 50.4360)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DBF #BF9A28
analogous
#2898BF #284DBF #4E28BF
triadic
#284DBF #BF284D #4DBF28
tetradic
#284DBF #BF2898 #BF9A28 #28BF4E
square
#284DBF #BF2898 #BF9A28 #28BF4E
split-complementary
#284DBF #BF4E28 #98BF28
monochromatic
#13245A #1D398C #284DBF #4B6ED9 #7E97E4

Accessibility & contrast

On white

7.23
#284DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#284DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284DBF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DBF#FFFFFF#000000##FFFFFF
##284DBF1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #284dbf;
/* rgb */ color: rgb(40, 77, 191);
/* oklch */ color: oklch(46.7% 0.184 265.7);
Tailwind
colors: {
  custom: {
    50: '#7a7ed3',
    500: '#284dbf',
    950: '#000000',
  },
}
SCSS
$custom: #284dbf;
$custom-light: #7a7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#284dbf",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 225.298,
    "s": 65.368,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46739,
    "c": 0.18385,
    "h": 265.7
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#284DBF
secondary
#CCB777
accent
#BF3FE8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #284DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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