#284496#284496

#284496 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.139 H 266.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#284496
RGBrgb(40, 68, 150)
HSLhsl(225, 58%, 37%)
HSVhsv(225, 73%, 59%)
CMYKcmyk(73.3%, 54.7%, 0%, 41.2%)
CIE-LABlab(31.32, 19.17, -48.15)
CIE-LCHlch(31.32, 51.82, 291.71°)
OKLaboklab(41.49% -0.0092 -0.1386)
OKLCHoklch(41.49% 0.139 266.2)
XYZxyz(8.4453, 6.7865, 29.7131)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284496 #967A28
analogous
#287B96 #284496 #432896
triadic
#284496 #962844 #449628
tetradic
#284496 #96287B #967A28 #289643
square
#284496 #96287B #967A28 #289643
split-complementary
#284496 #964328 #7B9628
monochromatic
#0E1835 #1B2E66 #284496 #355AC6 #6380D5

Accessibility & contrast

On white

8.91
#284496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284496
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284496#FFFFFF#000000##FFFFFF
##2844961.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054F99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284496;
/* rgb */ color: rgb(40, 68, 150);
/* oklch */ color: oklch(41.5% 0.139 266.2);
Tailwind
colors: {
  custom: {
    50: '#7177b5',
    500: '#284496',
    950: '#000000',
  },
}
SCSS
$custom: #284496;
$custom-light: #7177b5;
$custom-dark: #000000;
JSON
{
  "hex": "#284496",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 150
  },
  "hsl": {
    "h": 224.727,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41487,
    "c": 0.13889,
    "h": 266.2
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#284496
secondary
#BBA45F
accent
#BA47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284496

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

Preview Lab → · Contrast checker → · Palette generator →

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