#284597#284597

#284597 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.139 H 265.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#284597
RGBrgb(40, 69, 151)
HSLhsl(224, 58%, 37%)
HSVhsv(224, 74%, 59%)
CMYKcmyk(73.5%, 54.3%, 0%, 40.8%)
CIE-LABlab(31.67, 18.88, -48.18)
CIE-LCHlch(31.67, 51.74, 291.39°)
OKLaboklab(41.78% -0.01 -0.1387)
OKLCHoklch(41.78% 0.139 265.9)
XYZxyz(8.5872, 6.9408, 30.1593)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284597 #977A28
analogous
#287D97 #284597 #422897
triadic
#284597 #972845 #459728
tetradic
#284597 #97287D #977A28 #289742
square
#284597 #97287D #977A28 #289742
split-complementary
#284597 #974228 #7D9728
monochromatic
#0E1936 #1B2F67 #284597 #355BC7 #6481D6

Accessibility & contrast

On white

8.79
#284597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#284597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284597
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284597#FFFFFF#000000##FFFFFF
##2845971.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08509A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284597;
/* rgb */ color: rgb(40, 69, 151);
/* oklch */ color: oklch(41.8% 0.139 265.9);
Tailwind
colors: {
  custom: {
    50: '#7178b6',
    500: '#284597',
    950: '#000000',
  },
}
SCSS
$custom: #284597;
$custom-light: #7178b6;
$custom-dark: #000000;
JSON
{
  "hex": "#284597",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 224.324,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4178,
    "c": 0.13902,
    "h": 265.9
  },
  "luminance": 0.06942
}

Semantic roles & 50–950 ramp

primary
#284597
secondary
#BCA35F
accent
#B946E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284597

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

Preview Lab → · Contrast checker → · Palette generator →

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