#284ABC#284ABC

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

Color values

HEX#284ABC
RGBrgb(40, 74, 188)
HSLhsl(226, 65%, 45%)
HSVhsv(226, 79%, 74%)
CMYKcmyk(78.7%, 60.6%, 0%, 26.3%)
CIE-LABlab(35.94, 29.69, -63.34)
CIE-LCHlch(35.94, 69.95, 295.11°)
OKLaboklab(45.9% -0.0119 -0.1831)
OKLCHoklch(45.9% 0.184 266.3)
XYZxyz(12.3978, 8.9781, 48.6467)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284ABC #BC9A28
analogous
#2894BC #284ABC #5028BC
triadic
#284ABC #BC284A #4ABC28
tetradic
#284ABC #BC2894 #BC9A28 #28BC50
square
#284ABC #BC2894 #BC9A28 #28BC50
split-complementary
#284ABC #BC5028 #94BC28
monochromatic
#132257 #1D368A #284ABC #496AD8 #7B93E3

Accessibility & contrast

On white

7.51
#284ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#284ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284ABC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284ABC#FFFFFF#000000##FFFFFF
##284ABC1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #284abc;
/* rgb */ color: rgb(40, 74, 188);
/* oklch */ color: oklch(45.9% 0.184 266.3);
Tailwind
colors: {
  custom: {
    50: '#7a7cd1',
    500: '#284abc',
    950: '#000000',
  },
}
SCSS
$custom: #284abc;
$custom-light: #7a7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#284abc",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 226.216,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.18351,
    "h": 266.3
  },
  "luminance": 0.0898
}

Semantic roles & 50–950 ramp

primary
#284ABC
secondary
#CBB775
accent
#C140E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #284ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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