#284576#284576

#284576 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.4% C 0.090 H 260.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#284576
RGBrgb(40, 69, 118)
HSLhsl(218, 49%, 31%)
HSVhsv(218, 66%, 46%)
CMYKcmyk(66.1%, 41.5%, 0%, 53.7%)
CIE-LABlab(29.45, 6.15, -31.34)
CIE-LCHlch(29.45, 31.93, 281.10°)
OKLaboklab(39.37% -0.0153 -0.0891)
OKLCHoklch(39.37% 0.09 260.3)
XYZxyz(6.2721, 6.0148, 17.9665)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284576 #765928
analogous
#286C76 #284576 #322876
triadic
#284576 #762845 #457628
tetradic
#284576 #76286C #765928 #287632
square
#284576 #76286C #765928 #287632
split-complementary
#284576 #763228 #6C7628
monochromatic
#09101B #192A48 #284576 #3760A4 #547EC5

Accessibility & contrast

On white

9.53
#284576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#284576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284576
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284576#FFFFFF#000000##FFFFFF
##2845761.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#244275
Tritanopia (blue-blind)
#005057
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284576;
/* rgb */ color: rgb(40, 69, 118);
/* oklch */ color: oklch(39.4% 0.090 260.3);
Tailwind
colors: {
  custom: {
    50: '#6a789e',
    500: '#284576',
    950: '#000000',
  },
}
SCSS
$custom: #284576;
$custom-light: #6a789e;
$custom-dark: #000000;
JSON
{
  "hex": "#284576",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 118
  },
  "hsl": {
    "h": 217.692,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39366,
    "c": 0.09044,
    "h": 260.3
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#284576
secondary
#A88852
accent
#A64FD9
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284576

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

Preview Lab → · Contrast checker → · Palette generator →

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