#284DB9#284DB9

#284DB9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.176 H 265.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#284DB9
RGBrgb(40, 77, 185)
HSLhsl(225, 64%, 44%)
HSVhsv(225, 78%, 73%)
CMYKcmyk(78.4%, 58.4%, 0%, 27.5%)
CIE-LABlab(36.48, 26.58, -60.70)
CIE-LCHlch(36.48, 66.26, 293.65°)
OKLaboklab(46.23% -0.0139 -0.1753)
OKLCHoklch(46.23% 0.176 265.5)
XYZxyz(12.2828, 9.2602, 47.0296)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DB9 #B99428
analogous
#2896B9 #284DB9 #4C28B9
triadic
#284DB9 #B9284D #4DB928
tetradic
#284DB9 #B92896 #B99428 #28B94C
square
#284DB9 #B92896 #B99428 #28B94C
split-complementary
#284DB9 #B94C28 #96B928
monochromatic
#122354 #1D3887 #284DB9 #476CD7 #7994E2

Accessibility & contrast

On white

7.36
#284DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#284DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284DB9
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DB9#FFFFFF#000000##FFFFFF
##284DB91.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #284db9;
/* rgb */ color: rgb(40, 77, 185);
/* oklch */ color: oklch(46.2% 0.176 265.5);
Tailwind
colors: {
  custom: {
    50: '#797ecf',
    500: '#284db9',
    950: '#000000',
  },
}
SCSS
$custom: #284db9;
$custom-light: #797ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#284db9",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 224.69,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46225,
    "c": 0.17588,
    "h": 265.5
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#284DB9
secondary
#CAB473
accent
#BD40E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #284DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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