#284EBC#284EBC

#284EBC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.179 H 265.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#284EBC
RGBrgb(40, 78, 188)
HSLhsl(225, 65%, 45%)
HSVhsv(225, 79%, 74%)
CMYKcmyk(78.7%, 58.5%, 0%, 26.3%)
CIE-LABlab(36.98, 27.06, -61.64)
CIE-LCHlch(36.98, 67.32, 293.70°)
OKLaboklab(46.68% -0.0145 -0.1781)
OKLCHoklch(46.68% 0.179 265.4)
XYZxyz(12.6734, 9.5293, 48.7386)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284EBC #BC9628
analogous
#2898BC #284EBC #4C28BC
triadic
#284EBC #BC284E #4EBC28
tetradic
#284EBC #BC2898 #BC9628 #28BC4C
square
#284EBC #BC2898 #BC9628 #28BC4C
split-complementary
#284EBC #BC4C28 #98BC28
monochromatic
#132457 #1D398A #284EBC #496ED8 #7B96E3

Accessibility & contrast

On white

7.23
#284EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#284EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284EBC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284EBC#FFFFFF#000000##FFFFFF
##284EBC1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #284ebc;
/* rgb */ color: rgb(40, 78, 188);
/* oklch */ color: oklch(46.7% 0.179 265.4);
Tailwind
colors: {
  custom: {
    50: '#7a7fd1',
    500: '#284ebc',
    950: '#000000',
  },
}
SCSS
$custom: #284ebc;
$custom-light: #7a7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#284ebc",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 224.595,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46677,
    "c": 0.17867,
    "h": 265.4
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#284EBC
secondary
#CBB575
accent
#BD40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #284EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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