#284589#284589

#284589 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.119 H 264.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#284589
RGBrgb(40, 69, 137)
HSLhsl(222, 55%, 35%)
HSVhsv(222, 71%, 54%)
CMYKcmyk(70.8%, 49.6%, 0%, 46.3%)
CIE-LABlab(30.67, 13.45, -41.22)
CIE-LCHlch(30.67, 43.36, 288.08°)
OKLaboklab(40.7% -0.0116 -0.1182)
OKLCHoklch(40.7% 0.119 264.4)
XYZxyz(7.5170, 6.5127, 24.5230)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284589 #896C28
analogous
#287689 #284589 #3C2889
triadic
#284589 #892845 #458928
tetradic
#284589 #892876 #896C28 #28893C
square
#284589 #892876 #896C28 #28893C
split-complementary
#284589 #893C28 #768928
monochromatic
#0C152A #1A2D5A #284589 #365DB8 #5C7ECF

Accessibility & contrast

On white

9.12
#284589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#284589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284589
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284589#FFFFFF#000000##FFFFFF
##2845891.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8C
Deuteranopia (green-blind)
#074488
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284589;
/* rgb */ color: rgb(40, 69, 137);
/* oklch */ color: oklch(40.7% 0.119 264.4);
Tailwind
colors: {
  custom: {
    50: '#6e78ac',
    500: '#284589',
    950: '#000000',
  },
}
SCSS
$custom: #284589;
$custom-light: #6e78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#284589",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 222.062,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.407,
    "c": 0.11874,
    "h": 264.4
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#284589
secondary
#B59958
accent
#B24ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #284589

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

Preview Lab → · Contrast checker → · Palette generator →

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