#284989#284989

#284989 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.114 H 262.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#284989
RGBrgb(40, 73, 137)
HSLhsl(220, 55%, 35%)
HSVhsv(220, 71%, 54%)
CMYKcmyk(70.8%, 46.7%, 0%, 46.3%)
CIE-LABlab(31.86, 10.74, -39.31)
CIE-LCHlch(31.86, 40.75, 285.28°)
OKLaboklab(41.61% -0.0155 -0.1125)
OKLCHoklch(41.61% 0.114 262.1)
XYZxyz(7.7714, 7.0216, 24.6078)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284989 #896828
analogous
#287989 #284989 #382889
triadic
#284989 #892849 #498928
tetradic
#284989 #892879 #896828 #288938
square
#284989 #892879 #896828 #288938
split-complementary
#284989 #893828 #798928
monochromatic
#0C172A #1A305A #284989 #3662B8 #5C83CF

Accessibility & contrast

On white

8.73
#284989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#284989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284989
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284989#FFFFFF#000000##FFFFFF
##2849891.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508B
Deuteranopia (green-blind)
#164788
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #284989;
/* rgb */ color: rgb(40, 73, 137);
/* oklch */ color: oklch(41.6% 0.114 262.1);
Tailwind
colors: {
  custom: {
    50: '#6e7bac',
    500: '#284989',
    950: '#000000',
  },
}
SCSS
$custom: #284989;
$custom-light: #6e7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#284989",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 219.588,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41608,
    "c": 0.11358,
    "h": 262.1
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#284989
secondary
#B59558
accent
#AC4ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284989

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

Preview Lab → · Contrast checker → · Palette generator →

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