#284BBC#284BBC

#284BBC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.182 H 266.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#284BBC
RGBrgb(40, 75, 188)
HSLhsl(226, 65%, 45%)
HSVhsv(226, 79%, 74%)
CMYKcmyk(78.7%, 60.1%, 0%, 26.3%)
CIE-LABlab(36.20, 29.03, -62.92)
CIE-LCHlch(36.20, 69.29, 294.77°)
OKLaboklab(46.09% -0.0125 -0.1819)
OKLCHoklch(46.09% 0.182 266.1)
XYZxyz(12.4651, 9.1127, 48.6692)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284BBC #BC9928
analogous
#2895BC #284BBC #4F28BC
triadic
#284BBC #BC284B #4BBC28
tetradic
#284BBC #BC2895 #BC9928 #28BC4F
square
#284BBC #BC2895 #BC9928 #28BC4F
split-complementary
#284BBC #BC4F28 #95BC28
monochromatic
#132357 #1D378A #284BBC #496BD8 #7B94E3

Accessibility & contrast

On white

7.44
#284BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#284BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284BBC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284BBC#FFFFFF#000000##FFFFFF
##284BBC1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284bbc;
/* rgb */ color: rgb(40, 75, 188);
/* oklch */ color: oklch(46.1% 0.182 266.1);
Tailwind
colors: {
  custom: {
    50: '#7a7cd1',
    500: '#284bbc',
    950: '#000000',
  },
}
SCSS
$custom: #284bbc;
$custom-light: #7a7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#284bbc",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 225.811,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46092,
    "c": 0.1823,
    "h": 266.1
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #284BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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