#284EB3#284EB3

#284EB3 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.167 H 264.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#284EB3
RGBrgb(40, 78, 179)
HSLhsl(224, 63%, 43%)
HSVhsv(224, 78%, 70%)
CMYKcmyk(77.7%, 56.4%, 0%, 29.8%)
CIE-LABlab(36.28, 23.63, -57.49)
CIE-LCHlch(36.28, 62.16, 292.34°)
OKLaboklab(45.93% -0.0149 -0.1659)
OKLCHoklch(45.93% 0.167 264.9)
XYZxyz(11.7333, 9.1532, 43.7875)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284EB3 #B38D28
analogous
#2893B3 #284EB3 #4728B3
triadic
#284EB3 #B3284E #4EB328
tetradic
#284EB3 #B32893 #B38D28 #28B347
square
#284EB3 #B32893 #B38D28 #28B347
split-complementary
#284EB3 #B34728 #93B328
monochromatic
#12224F #1D3881 #284EB3 #436BD5 #7592E0

Accessibility & contrast

On white

7.42
#284EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#284EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284EB3
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284EB3#FFFFFF#000000##FFFFFF
##284EB31.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #284eb3;
/* rgb */ color: rgb(40, 78, 179);
/* oklch */ color: oklch(45.9% 0.167 264.9);
Tailwind
colors: {
  custom: {
    50: '#777fca',
    500: '#284eb3',
    950: '#000000',
  },
}
SCSS
$custom: #284eb3;
$custom-light: #777fca;
$custom-dark: #000000;
JSON
{
  "hex": "#284eb3",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 223.597,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45926,
    "c": 0.16656,
    "h": 264.9
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#284EB3
secondary
#C8AF6F
accent
#B941E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #284EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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