#284EAA#284EAA

#284EAA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.154 H 264.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#284EAA
RGBrgb(40, 78, 170)
HSLhsl(222, 62%, 41%)
HSVhsv(222, 76%, 67%)
CMYKcmyk(76.5%, 54.1%, 0%, 33.3%)
CIE-LABlab(35.60, 20.16, -53.25)
CIE-LCHlch(35.60, 56.94, 290.74°)
OKLaboklab(45.2% -0.0156 -0.1534)
OKLCHoklch(45.2% 0.154 264.2)
XYZxyz(10.8526, 8.8010, 39.1492)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284EAA #AA8428
analogous
#288FAA #284EAA #4328AA
triadic
#284EAA #AA284E #4EAA28
tetradic
#284EAA #AA288F #AA8428 #28AA43
square
#284EAA #AA288F #AA8428 #28AA43
split-complementary
#284EAA #AA4328 #8FAA28
monochromatic
#112147 #1C3778 #284EAA #3E69D2 #6F8FDD

Accessibility & contrast

On white

7.61
#284EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#284EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284EAA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284EAA#FFFFFF#000000##FFFFFF
##284EAA1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045AAD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #284eaa;
/* rgb */ color: rgb(40, 78, 170);
/* oklch */ color: oklch(45.2% 0.154 264.2);
Tailwind
colors: {
  custom: {
    50: '#757fc4',
    500: '#284eaa',
    950: '#000000',
  },
}
SCSS
$custom: #284eaa;
$custom-light: #757fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#284eaa",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 222.462,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45198,
    "c": 0.15422,
    "h": 264.2
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#284EAA
secondary
#C4AA6A
accent
#B643E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #284EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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