#284575#284575

#284575 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.089 H 260.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#284575
RGBrgb(40, 69, 117)
HSLhsl(217, 49%, 31%)
HSVhsv(217, 66%, 46%)
CMYKcmyk(65.8%, 41%, 0%, 54.1%)
CIE-LABlab(29.39, 5.77, -30.80)
CIE-LCHlch(29.39, 31.34, 280.60°)
OKLaboklab(39.3% -0.0155 -0.0876)
OKLCHoklch(39.3% 0.089 260)
XYZxyz(6.2129, 5.9911, 17.6552)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284575 #755828
analogous
#286B75 #284575 #312875
triadic
#284575 #752845 #457528
tetradic
#284575 #75286B #755828 #287531
square
#284575 #75286B #755828 #287531
split-complementary
#284575 #753128 #6B7528
monochromatic
#090F1A #182A47 #284575 #3860A3 #537EC4

Accessibility & contrast

On white

9.55
#284575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284575
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284575#FFFFFF#000000##FFFFFF
##2845751.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304977
Deuteranopia (green-blind)
#254274
Tritanopia (blue-blind)
#005057
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284575;
/* rgb */ color: rgb(40, 69, 117);
/* oklch */ color: oklch(39.3% 0.089 260.0);
Tailwind
colors: {
  custom: {
    50: '#6a789d',
    500: '#284575',
    950: '#000000',
  },
}
SCSS
$custom: #284575;
$custom-light: #6a789d;
$custom-dark: #000000;
JSON
{
  "hex": "#284575",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 117
  },
  "hsl": {
    "h": 217.403,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.393,
    "c": 0.08894,
    "h": 260
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#284575
secondary
#A78752
accent
#A54FD9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284575

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

Preview Lab → · Contrast checker → · Palette generator →

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