#284BBA#284BBA

#284BBA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.180 H 266.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#284BBA
RGBrgb(40, 75, 186)
HSLhsl(226, 65%, 44%)
HSVhsv(226, 78%, 73%)
CMYKcmyk(78.5%, 59.7%, 0%, 27.1%)
CIE-LABlab(36.04, 28.28, -62.01)
CIE-LCHlch(36.04, 68.15, 294.51°)
OKLaboklab(45.92% -0.0126 -0.1792)
OKLCHoklch(45.92% 0.18 266)
XYZxyz(12.2510, 9.0270, 47.5416)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BBA #BA9728
analogous
#2894BA #284BBA #4E28BA
triadic
#284BBA #BA284B #4BBA28
tetradic
#284BBA #BA2894 #BA9728 #28BA4E
square
#284BBA #BA2894 #BA9728 #28BA4E
split-complementary
#284BBA #BA4E28 #94BA28
monochromatic
#122255 #1D3788 #284BBA #486AD8 #7A93E2

Accessibility & contrast

On white

7.49
#284BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#284BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BBA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BBA#FFFFFF#000000##FFFFFF
##284BBA1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #284bba;
/* rgb */ color: rgb(40, 75, 186);
/* oklch */ color: oklch(45.9% 0.180 266.0);
Tailwind
colors: {
  custom: {
    50: '#797cd0',
    500: '#284bba',
    950: '#000000',
  },
}
SCSS
$custom: #284bba;
$custom-light: #797cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#284bba",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 225.616,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45918,
    "c": 0.17965,
    "h": 266
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#284BBA
secondary
#CAB673
accent
#BF40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #284BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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