#284CBC#284CBC

#284CBC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.181 H 265.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#284CBC
RGBrgb(40, 76, 188)
HSLhsl(225, 65%, 45%)
HSVhsv(225, 79%, 74%)
CMYKcmyk(78.7%, 59.6%, 0%, 26.3%)
CIE-LABlab(36.46, 28.37, -62.49)
CIE-LCHlch(36.46, 68.63, 294.42°)
OKLaboklab(46.29% -0.0132 -0.1806)
OKLCHoklch(46.29% 0.181 265.8)
XYZxyz(12.5334, 9.2494, 48.6920)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284CBC #BC9828
analogous
#2896BC #284CBC #4E28BC
triadic
#284CBC #BC284C #4CBC28
tetradic
#284CBC #BC2896 #BC9828 #28BC4E
square
#284CBC #BC2896 #BC9828 #28BC4E
split-complementary
#284CBC #BC4E28 #96BC28
monochromatic
#132357 #1D388A #284CBC #496CD8 #7B95E3

Accessibility & contrast

On white

7.37
#284CBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284CBC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284CBC#FFFFFF#000000##FFFFFF
##284CBC1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #284cbc;
/* rgb */ color: rgb(40, 76, 188);
/* oklch */ color: oklch(46.3% 0.181 265.8);
Tailwind
colors: {
  custom: {
    50: '#7a7dd1',
    500: '#284cbc',
    950: '#000000',
  },
}
SCSS
$custom: #284cbc;
$custom-light: #7a7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#284cbc",
  "rgb": {
    "r": 40,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 225.405,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46286,
    "c": 0.1811,
    "h": 265.8
  },
  "luminance": 0.09251
}

Semantic roles & 50–950 ramp

primary
#284CBC
secondary
#CBB675
accent
#BF40E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #284CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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