#284EB0#284EB0

#284EB0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.162 H 264.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#284EB0
RGBrgb(40, 78, 176)
HSLhsl(223, 63%, 42%)
HSVhsv(223, 77%, 69%)
CMYKcmyk(77.3%, 55.7%, 0%, 31%)
CIE-LABlab(36.05, 22.47, -56.09)
CIE-LCHlch(36.05, 60.42, 291.84°)
OKLaboklab(45.68% -0.0151 -0.1618)
OKLCHoklch(45.68% 0.162 264.7)
XYZxyz(11.4332, 9.0332, 42.2069)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284EB0 #B08A28
analogous
#2892B0 #284EB0 #4628B0
triadic
#284EB0 #B0284E #4EB028
tetradic
#284EB0 #B02892 #B08A28 #28B046
square
#284EB0 #B02892 #B08A28 #28B046
split-complementary
#284EB0 #B04628 #92B028
monochromatic
#11224C #1D387E #284EB0 #416AD4 #7391DF

Accessibility & contrast

On white

7.48
#284EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284EB0
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284EB0#FFFFFF#000000##FFFFFF
##284EB01.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #284eb0;
/* rgb */ color: rgb(40, 78, 176);
/* oklch */ color: oklch(45.7% 0.162 264.7);
Tailwind
colors: {
  custom: {
    50: '#777fc8',
    500: '#284eb0',
    950: '#000000',
  },
}
SCSS
$custom: #284eb0;
$custom-light: #777fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#284eb0",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 223.235,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4568,
    "c": 0.16247,
    "h": 264.7
  },
  "luminance": 0.09034
}

Semantic roles & 50–950 ramp

primary
#284EB0
secondary
#C6AE6D
accent
#B842E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #284EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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