#284579#284579

#284579 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.095 H 261.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#284579
RGBrgb(40, 69, 121)
HSLhsl(219, 50%, 32%)
HSVhsv(219, 67%, 47%)
CMYKcmyk(66.9%, 43%, 0%, 52.5%)
CIE-LABlab(29.63, 7.29, -32.93)
CIE-LCHlch(29.63, 33.73, 282.48°)
OKLaboklab(39.57% -0.0146 -0.0938)
OKLCHoklch(39.57% 0.095 261.2)
XYZxyz(6.4532, 6.0872, 18.9203)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284579 #795C28
analogous
#286E79 #284579 #342879
triadic
#284579 #792845 #457928
tetradic
#284579 #79286E #795C28 #287934
square
#284579 #79286E #795C28 #287934
split-complementary
#284579 #793428 #6E7928
monochromatic
#0A111D #192B4B #284579 #375FA7 #557EC7

Accessibility & contrast

On white

9.47
#284579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#284579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284579
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284579#FFFFFF#000000##FFFFFF
##2845791.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#214278
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284579;
/* rgb */ color: rgb(40, 69, 121);
/* oklch */ color: oklch(39.6% 0.095 261.2);
Tailwind
colors: {
  custom: {
    50: '#6b78a0',
    500: '#284579',
    950: '#000000',
  },
}
SCSS
$custom: #284579;
$custom-light: #6b78a0;
$custom-dark: #000000;
JSON
{
  "hex": "#284579",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 218.519,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39565,
    "c": 0.09495,
    "h": 261.2
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#284579
secondary
#AB8B52
accent
#A84EDA
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284579

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

Preview Lab → · Contrast checker → · Palette generator →

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