#282889#282889

#282889 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.156 H 274.7°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#282889
RGBrgb(40, 40, 137)
HSLhsl(240, 55%, 35%)
HSVhsv(240, 71%, 54%)
CMYKcmyk(70.8%, 70.8%, 0%, 46.3%)
CIE-LABlab(22.91, 32.99, -53.84)
CIE-LCHlch(22.91, 63.14, 301.50°)
OKLaboklab(34.92% 0.0128 -0.1556)
OKLCHoklch(34.92% 0.156 274.7)
XYZxyz(6.1477, 3.7743, 24.0666)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282889 #898928
analogous
#285989 #282889 #592889
triadic
#282889 #892828 #288928
tetradic
#282889 #892859 #898928 #288959
square
#282889 #892859 #898928 #288959
split-complementary
#282889 #895928 #598928
monochromatic
#0C0C2A #1A1A5A #282889 #3636B8 #5C5CCF

Accessibility & contrast

On white

11.97
#282889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#282889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282889
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282889#FFFFFF#000000##FFFFFF
##2828891.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282889;
/* rgb */ color: rgb(40, 40, 137);
/* oklch */ color: oklch(34.9% 0.156 274.7);
Tailwind
colors: {
  custom: {
    50: '#7062ac',
    500: '#282889',
    950: '#000000',
  },
}
SCSS
$custom: #282889;
$custom-light: #7062ac;
$custom-dark: #000000;
JSON
{
  "hex": "#282889",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34922,
    "c": 0.15609,
    "h": 274.7
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#282889
secondary
#B5B558
accent
#DE4ADE
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #282889

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

Preview Lab → · Contrast checker → · Palette generator →

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