#284889#284889

#284889 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.115 H 262.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#284889
RGBrgb(40, 72, 137)
HSLhsl(220, 55%, 35%)
HSVhsv(220, 71%, 54%)
CMYKcmyk(70.8%, 47.4%, 0%, 46.3%)
CIE-LABlab(31.56, 11.42, -39.79)
CIE-LCHlch(31.56, 41.40, 286.01°)
OKLaboklab(41.38% -0.0146 -0.1139)
OKLCHoklch(41.38% 0.115 262.7)
XYZxyz(7.7062, 6.8912, 24.5861)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284889 #896928
analogous
#287989 #284889 #392889
triadic
#284889 #892848 #488928
tetradic
#284889 #892879 #896928 #288939
square
#284889 #892879 #896928 #288939
split-complementary
#284889 #893928 #798928
monochromatic
#0C162A #1A2F5A #284889 #3661B8 #5C82CF

Accessibility & contrast

On white

8.83
#284889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#284889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284889
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284889#FFFFFF#000000##FFFFFF
##2848891.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8B
Deuteranopia (green-blind)
#134688
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284889;
/* rgb */ color: rgb(40, 72, 137);
/* oklch */ color: oklch(41.4% 0.115 262.7);
Tailwind
colors: {
  custom: {
    50: '#6e7aac',
    500: '#284889',
    950: '#000000',
  },
}
SCSS
$custom: #284889;
$custom-light: #6e7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#284889",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 220.206,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41379,
    "c": 0.11486,
    "h": 262.7
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#284889
secondary
#B59658
accent
#AD4ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #284889

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

Preview Lab → · Contrast checker → · Palette generator →

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