#284580#284580

#284580 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.105 H 262.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#284580
RGBrgb(40, 69, 128)
HSLhsl(220, 52%, 33%)
HSVhsv(220, 69%, 50%)
CMYKcmyk(68.8%, 46.1%, 0%, 49.8%)
CIE-LABlab(30.07, 9.98, -36.60)
CIE-LCHlch(30.07, 37.94, 285.25°)
OKLaboklab(40.05% -0.0131 -0.1046)
OKLCHoklch(40.05% 0.105 262.8)
XYZxyz(6.8981, 6.2652, 21.2637)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284580 #806328
analogous
#287180 #284580 #372880
triadic
#284580 #802845 #458028
tetradic
#284580 #802871 #806328 #288037
square
#284580 #802871 #806328 #288037
split-complementary
#284580 #803728 #718028
monochromatic
#0B1323 #192C51 #284580 #375EAF #587ECB

Accessibility & contrast

On white

9.32
#284580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#284580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284580
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284580#FFFFFF#000000##FFFFFF
##2845801.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B82
Deuteranopia (green-blind)
#19437F
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284580;
/* rgb */ color: rgb(40, 69, 128);
/* oklch */ color: oklch(40.0% 0.105 262.8);
Tailwind
colors: {
  custom: {
    50: '#6c78a5',
    500: '#284580',
    950: '#000000',
  },
}
SCSS
$custom: #284580;
$custom-light: #6c78a5;
$custom-dark: #000000;
JSON
{
  "hex": "#284580",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 220.227,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.10542,
    "h": 262.8
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#284580
secondary
#B09254
accent
#AC4CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #284580

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

Preview Lab → · Contrast checker → · Palette generator →

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