#284582#284582

#284582 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.108 H 263.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#284582
RGBrgb(40, 69, 130)
HSLhsl(221, 53%, 33%)
HSVhsv(221, 69%, 51%)
CMYKcmyk(69.2%, 46.9%, 0%, 49%)
CIE-LABlab(30.20, 10.75, -37.64)
CIE-LCHlch(30.20, 39.14, 285.93°)
OKLaboklab(40.19% -0.0128 -0.1076)
OKLCHoklch(40.19% 0.108 263.2)
XYZxyz(7.0310, 6.3184, 21.9638)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284582 #826528
analogous
#287282 #284582 #382882
triadic
#284582 #822845 #458228
tetradic
#284582 #822872 #826528 #288238
square
#284582 #822872 #826528 #288238
split-complementary
#284582 #823828 #728228
monochromatic
#0B1324 #1A2C53 #284582 #365EB1 #597ECC

Accessibility & contrast

On white

9.28
#284582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#284582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284582
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284582#FFFFFF#000000##FFFFFF
##2845821.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C84
Deuteranopia (green-blind)
#164381
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #284582;
/* rgb */ color: rgb(40, 69, 130);
/* oklch */ color: oklch(40.2% 0.108 263.2);
Tailwind
colors: {
  custom: {
    50: '#6d78a7',
    500: '#284582',
    950: '#000000',
  },
}
SCSS
$custom: #284582;
$custom-light: #6d78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#284582",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 220.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4019,
    "c": 0.10839,
    "h": 263.2
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#284582
secondary
#B19355
accent
#AE4BDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #284582

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

Preview Lab → · Contrast checker → · Palette generator →

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