#284AB3#284AB3

#284AB3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.172 H 265.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#284AB3
RGBrgb(40, 74, 179)
HSLhsl(225, 63%, 43%)
HSVhsv(225, 78%, 70%)
CMYKcmyk(77.7%, 58.7%, 0%, 29.8%)
CIE-LABlab(35.21, 26.28, -59.23)
CIE-LCHlch(35.21, 64.80, 293.92°)
OKLaboklab(45.12% -0.0121 -0.1711)
OKLCHoklch(45.12% 0.172 265.9)
XYZxyz(11.4577, 8.6020, 43.6956)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284AB3 #B39128
analogous
#288FB3 #284AB3 #4C28B3
triadic
#284AB3 #B3284A #4AB328
tetradic
#284AB3 #B3288F #B39128 #28B34C
square
#284AB3 #B3288F #B39128 #28B34C
split-complementary
#284AB3 #B34C28 #8FB328
monochromatic
#12214F #1D3581 #284AB3 #4367D5 #758FE0

Accessibility & contrast

On white

7.72
#284AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#284AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284AB3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284AB3#FFFFFF#000000##FFFFFF
##284AB31.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #284ab3;
/* rgb */ color: rgb(40, 74, 179);
/* oklch */ color: oklch(45.1% 0.172 265.9);
Tailwind
colors: {
  custom: {
    50: '#787ccb',
    500: '#284ab3',
    950: '#000000',
  },
}
SCSS
$custom: #284ab3;
$custom-light: #787ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#284ab3",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 225.324,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45122,
    "c": 0.17151,
    "h": 265.9
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#284AB3
secondary
#C8B26F
accent
#BE41E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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