#284FB9#284FB9

#284FB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.173 H 265.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#284FB9
RGBrgb(40, 79, 185)
HSLhsl(224, 64%, 44%)
HSVhsv(224, 78%, 73%)
CMYKcmyk(78.4%, 57.3%, 0%, 27.5%)
CIE-LABlab(37.01, 25.26, -59.83)
CIE-LCHlch(37.01, 64.95, 292.89°)
OKLaboklab(46.62% -0.0153 -0.1727)
OKLCHoklch(46.62% 0.173 265)
XYZxyz(12.4249, 9.5444, 47.0770)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284FB9 #B99228
analogous
#2898B9 #284FB9 #4A28B9
triadic
#284FB9 #B9284F #4FB928
tetradic
#284FB9 #B92898 #B99228 #28B94A
square
#284FB9 #B92898 #B99228 #28B94A
split-complementary
#284FB9 #B94A28 #98B928
monochromatic
#122454 #1D3A87 #284FB9 #476ED7 #7995E2

Accessibility & contrast

On white

7.22
#284FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#284FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284FB9
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284FB9#FFFFFF#000000##FFFFFF
##284FB91.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #284fb9;
/* rgb */ color: rgb(40, 79, 185);
/* oklch */ color: oklch(46.6% 0.173 265.0);
Tailwind
colors: {
  custom: {
    50: '#797fcf',
    500: '#284fb9',
    950: '#000000',
  },
}
SCSS
$custom: #284fb9;
$custom-light: #797fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#284fb9",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 223.862,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46624,
    "c": 0.17342,
    "h": 265
  },
  "luminance": 0.09546
}

Semantic roles & 50–950 ramp

primary
#284FB9
secondary
#CAB373
accent
#BA40E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #284FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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