#284886#284886

#284886 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.110 H 262.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#284886
RGBrgb(40, 72, 134)
HSLhsl(220, 54%, 34%)
HSVhsv(220, 70%, 53%)
CMYKcmyk(70.1%, 46.3%, 0%, 47.5%)
CIE-LABlab(31.36, 10.26, -38.26)
CIE-LCHlch(31.36, 39.61, 285.01°)
OKLaboklab(41.17% -0.0151 -0.1094)
OKLCHoklch(41.17% 0.11 262.1)
XYZxyz(7.4940, 6.8063, 23.4684)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284886 #866628
analogous
#287786 #284886 #372886
triadic
#284886 #862848 #488628
tetradic
#284886 #862877 #866628 #288637
square
#284886 #862877 #866628 #288637
split-complementary
#284886 #863728 #778628
monochromatic
#0C1528 #1A2F57 #284886 #3661B5 #5B82CE

Accessibility & contrast

On white

8.89
#284886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#284886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284886
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284886#FFFFFF#000000##FFFFFF
##2848861.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E88
Deuteranopia (green-blind)
#184685
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284886;
/* rgb */ color: rgb(40, 72, 134);
/* oklch */ color: oklch(41.2% 0.110 262.1);
Tailwind
colors: {
  custom: {
    50: '#6e7aaa',
    500: '#284886',
    950: '#000000',
  },
}
SCSS
$custom: #284886;
$custom-light: #6e7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#284886",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 134
  },
  "hsl": {
    "h": 219.574,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41165,
    "c": 0.11045,
    "h": 262.1
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

primary
#284886
secondary
#B39457
accent
#AB4ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284886

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

Preview Lab → · Contrast checker → · Palette generator →

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