#284AAA#284AAA

#284AAA is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.159 H 265.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#284AAA
RGBrgb(40, 74, 170)
HSLhsl(224, 62%, 41%)
HSVhsv(224, 76%, 67%)
CMYKcmyk(76.5%, 56.5%, 0%, 33.3%)
CIE-LABlab(34.50, 22.84, -55.04)
CIE-LCHlch(34.50, 59.59, 292.53°)
OKLaboklab(44.37% -0.0125 -0.1587)
OKLCHoklch(44.37% 0.159 265.5)
XYZxyz(10.5770, 8.2498, 39.0573)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284AAA #AA8828
analogous
#288BAA #284AAA #4728AA
triadic
#284AAA #AA284A #4AAA28
tetradic
#284AAA #AA288B #AA8828 #28AA47
square
#284AAA #AA288B #AA8828 #28AA47
split-complementary
#284AAA #AA4728 #8BAA28
monochromatic
#111F47 #1C3478 #284AAA #3E64D2 #6F8CDD

Accessibility & contrast

On white

7.92
#284AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#284AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284AAA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284AAA#FFFFFF#000000##FFFFFF
##284AAA1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284aaa;
/* rgb */ color: rgb(40, 74, 170);
/* oklch */ color: oklch(44.4% 0.159 265.5);
Tailwind
colors: {
  custom: {
    50: '#767cc4',
    500: '#284aaa',
    950: '#000000',
  },
}
SCSS
$custom: #284aaa;
$custom-light: #767cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#284aaa",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 224.308,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44367,
    "c": 0.15925,
    "h": 265.5
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#284AAA
secondary
#C4AC6A
accent
#BB43E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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