#284890#284890

#284890 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.125 H 263.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#284890
RGBrgb(40, 72, 144)
HSLhsl(222, 57%, 36%)
HSVhsv(222, 72%, 56%)
CMYKcmyk(72.2%, 50%, 0%, 43.5%)
CIE-LABlab(32.03, 14.13, -43.33)
CIE-LCHlch(32.03, 45.57, 288.06°)
OKLaboklab(41.89% -0.0135 -0.1243)
OKLCHoklch(41.89% 0.125 263.8)
XYZxyz(8.2247, 7.0986, 27.3169)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284890 #907028
analogous
#287C90 #284890 #3C2890
triadic
#284890 #902848 #489028
tetradic
#284890 #90287C #907028 #28903C
square
#284890 #90287C #907028 #28903C
split-complementary
#284890 #903C28 #7C9028
monochromatic
#0D1830 #1B3060 #284890 #3560C0 #6083D3

Accessibility & contrast

On white

8.68
#284890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#284890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284890
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284890#FFFFFF#000000##FFFFFF
##2848901.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205093
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284890;
/* rgb */ color: rgb(40, 72, 144);
/* oklch */ color: oklch(41.9% 0.125 263.8);
Tailwind
colors: {
  custom: {
    50: '#707ab1',
    500: '#284890',
    950: '#000000',
  },
}
SCSS
$custom: #284890;
$custom-light: #707ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#284890",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 144
  },
  "hsl": {
    "h": 221.538,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41893,
    "c": 0.12507,
    "h": 263.8
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#284890
secondary
#B89C5C
accent
#B148E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #284890

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

Preview Lab → · Contrast checker → · Palette generator →

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