#284497#284497

#284497 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.140 H 266.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#284497
RGBrgb(40, 68, 151)
HSLhsl(225, 58%, 37%)
HSVhsv(225, 74%, 59%)
CMYKcmyk(73.5%, 55%, 0%, 40.8%)
CIE-LABlab(31.39, 19.55, -48.63)
CIE-LCHlch(31.39, 52.42, 291.90°)
OKLaboklab(41.57% -0.0091 -0.14)
OKLCHoklch(41.57% 0.14 266.3)
XYZxyz(8.5262, 6.8188, 30.1390)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284497 #977B28
analogous
#287B97 #284497 #442897
triadic
#284497 #972844 #449728
tetradic
#284497 #97287B #977B28 #289744
square
#284497 #97287B #977B28 #289744
split-complementary
#284497 #974428 #7B9728
monochromatic
#0E1836 #1B2E67 #284497 #355AC7 #6480D6

Accessibility & contrast

On white

8.88
#284497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284497
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284497#FFFFFF#000000##FFFFFF
##2844971.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284497;
/* rgb */ color: rgb(40, 68, 151);
/* oklch */ color: oklch(41.6% 0.140 266.3);
Tailwind
colors: {
  custom: {
    50: '#7177b6',
    500: '#284497',
    950: '#000000',
  },
}
SCSS
$custom: #284497;
$custom-light: #7177b6;
$custom-dark: #000000;
JSON
{
  "hex": "#284497",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 224.865,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41567,
    "c": 0.14031,
    "h": 266.3
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#284497
secondary
#BCA45F
accent
#BA46E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284497

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

Preview Lab → · Contrast checker → · Palette generator →

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