#284884#284884

#284884 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.0% C 0.107 H 261.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#284884
RGBrgb(40, 72, 132)
HSLhsl(219, 53%, 34%)
HSVhsv(219, 70%, 52%)
CMYKcmyk(69.7%, 45.5%, 0%, 48.2%)
CIE-LABlab(31.23, 9.48, -37.22)
CIE-LCHlch(31.23, 38.41, 284.29°)
OKLaboklab(41.03% -0.0155 -0.1064)
OKLCHoklch(41.03% 0.108 261.7)
XYZxyz(7.3558, 6.7511, 22.7407)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284884 #846428
analogous
#287684 #284884 #362884
triadic
#284884 #842848 #488428
tetradic
#284884 #842876 #846428 #288436
square
#284884 #842876 #846428 #288436
split-complementary
#284884 #843628 #768428
monochromatic
#0C1526 #1A2E55 #284884 #3662B3 #5A82CD

Accessibility & contrast

On white

8.93
#284884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#284884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284884
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284884#FFFFFF#000000##FFFFFF
##2848841.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E86
Deuteranopia (green-blind)
#1B4683
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284884;
/* rgb */ color: rgb(40, 72, 132);
/* oklch */ color: oklch(41.0% 0.107 261.7);
Tailwind
colors: {
  custom: {
    50: '#6d7aa8',
    500: '#284884',
    950: '#000000',
  },
}
SCSS
$custom: #284884;
$custom-light: #6d7aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#284884",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 132
  },
  "hsl": {
    "h": 219.13,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41025,
    "c": 0.1075,
    "h": 261.7
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#284884
secondary
#B29256
accent
#AA4BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #284884

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

Preview Lab → · Contrast checker → · Palette generator →

#284884 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva