#284499#284499

#284499 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.143 H 266.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#284499
RGBrgb(40, 68, 153)
HSLhsl(225, 59%, 38%)
HSVhsv(225, 74%, 60%)
CMYKcmyk(73.9%, 55.6%, 0%, 40%)
CIE-LABlab(31.54, 20.33, -49.61)
CIE-LCHlch(31.54, 53.61, 292.28°)
OKLaboklab(41.73% -0.009 -0.1429)
OKLCHoklch(41.73% 0.143 266.4)
XYZxyz(8.6900, 6.8844, 31.0017)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284499 #997D28
analogous
#287C99 #284499 #452899
triadic
#284499 #992844 #449928
tetradic
#284499 #99287C #997D28 #289945
square
#284499 #99287C #997D28 #289945
split-complementary
#284499 #994528 #7C9928
monochromatic
#0F1938 #1B2E68 #284499 #355ACA #6581D7

Accessibility & contrast

On white

8.83
#284499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#284499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284499
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284499#FFFFFF#000000##FFFFFF
##2844991.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284499;
/* rgb */ color: rgb(40, 68, 153);
/* oklch */ color: oklch(41.7% 0.143 266.4);
Tailwind
colors: {
  custom: {
    50: '#7277b8',
    500: '#284499',
    950: '#000000',
  },
}
SCSS
$custom: #284499;
$custom-light: #7277b8;
$custom-dark: #000000;
JSON
{
  "hex": "#284499",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 153
  },
  "hsl": {
    "h": 225.133,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4173,
    "c": 0.14315,
    "h": 266.4
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#284499
secondary
#BDA660
accent
#BB46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284499

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

Preview Lab → · Contrast checker → · Palette generator →

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