#284AA9#284AA9

#284AA9 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.158 H 265.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#284AA9
RGBrgb(40, 74, 169)
HSLhsl(224, 62%, 41%)
HSVhsv(224, 76%, 66%)
CMYKcmyk(76.3%, 56.2%, 0%, 33.7%)
CIE-LABlab(34.42, 22.45, -54.57)
CIE-LCHlch(34.42, 59.01, 292.36°)
OKLaboklab(44.29% -0.0126 -0.1574)
OKLCHoklch(44.29% 0.158 265.4)
XYZxyz(10.4828, 8.2121, 38.5610)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284AA9 #A98728
analogous
#288AA9 #284AA9 #4628A9
triadic
#284AA9 #A9284A #4AA928
tetradic
#284AA9 #A9288A #A98728 #28A946
square
#284AA9 #A9288A #A98728 #28A946
split-complementary
#284AA9 #A94628 #8AA928
monochromatic
#111F46 #1C3478 #284AA9 #3D64D1 #6F8CDD

Accessibility & contrast

On white

7.95
#284AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#284AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284AA9
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284AA9#FFFFFF#000000##FFFFFF
##284AA91.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #284aa9;
/* rgb */ color: rgb(40, 74, 169);
/* oklch */ color: oklch(44.3% 0.158 265.4);
Tailwind
colors: {
  custom: {
    50: '#757cc3',
    500: '#284aa9',
    950: '#000000',
  },
}
SCSS
$custom: #284aa9;
$custom-light: #757cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#284aa9",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 169
  },
  "hsl": {
    "h": 224.186,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44285,
    "c": 0.15788,
    "h": 265.4
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#284AA9
secondary
#C4AC69
accent
#BA43E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #284AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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