#282888#282888

#282888 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.155 H 274.8°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#282888
RGBrgb(40, 40, 136)
HSLhsl(240, 55%, 35%)
HSVhsv(240, 71%, 53%)
CMYKcmyk(70.6%, 70.6%, 0%, 46.7%)
CIE-LABlab(22.81, 32.63, -53.37)
CIE-LCHlch(22.81, 62.56, 301.44°)
OKLaboklab(34.82% 0.013 -0.1542)
OKLCHoklch(34.82% 0.155 274.8)
XYZxyz(6.0763, 3.7457, 23.6906)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282888 #888828
analogous
#285888 #282888 #582888
triadic
#282888 #882828 #288828
tetradic
#282888 #882858 #888828 #288858
square
#282888 #882858 #888828 #288858
split-complementary
#282888 #885828 #588828
monochromatic
#0C0C29 #1A1A59 #282888 #3636B7 #5B5BCF

Accessibility & contrast

On white

12.01
#282888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#282888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282888
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282888#FFFFFF#000000##FFFFFF
##2828881.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003286
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282888;
/* rgb */ color: rgb(40, 40, 136);
/* oklch */ color: oklch(34.8% 0.155 274.8);
Tailwind
colors: {
  custom: {
    50: '#7062ac',
    500: '#282888',
    950: '#000000',
  },
}
SCSS
$custom: #282888;
$custom-light: #7062ac;
$custom-dark: #000000;
JSON
{
  "hex": "#282888",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 240,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34822,
    "c": 0.15475,
    "h": 274.8
  },
  "luminance": 0.03746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282888

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

Preview Lab → · Contrast checker → · Palette generator →

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