#284EAE#284EAE

#284EAE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.160 H 264.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#284EAE
RGBrgb(40, 78, 174)
HSLhsl(223, 63%, 42%)
HSVhsv(223, 77%, 68%)
CMYKcmyk(77%, 55.2%, 0%, 31.8%)
CIE-LABlab(35.90, 21.70, -55.15)
CIE-LCHlch(35.90, 59.27, 291.48°)
OKLaboklab(45.52% -0.0152 -0.159)
OKLCHoklch(45.52% 0.16 264.5)
XYZxyz(11.2367, 8.9546, 41.1724)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284EAE #AE8828
analogous
#2891AE #284EAE #4528AE
triadic
#284EAE #AE284E #4EAE28
tetradic
#284EAE #AE2891 #AE8828 #28AE45
square
#284EAE #AE2891 #AE8828 #28AE45
split-complementary
#284EAE #AE4528 #91AE28
monochromatic
#11214A #1D387C #284EAE #406AD3 #7291DF

Accessibility & contrast

On white

7.52
#284EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#284EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284EAE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284EAE#FFFFFF#000000##FFFFFF
##284EAE1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #284eae;
/* rgb */ color: rgb(40, 78, 174);
/* oklch */ color: oklch(45.5% 0.160 264.5);
Tailwind
colors: {
  custom: {
    50: '#767fc7',
    500: '#284eae',
    950: '#000000',
  },
}
SCSS
$custom: #284eae;
$custom-light: #767fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#284eae",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 222.985,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45518,
    "c": 0.15973,
    "h": 264.5
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#284EAE
secondary
#C6AC6C
accent
#B742E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #284EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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