#282885#282885

#282885 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.151 H 275.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#282885
RGBrgb(40, 40, 133)
HSLhsl(240, 54%, 34%)
HSVhsv(240, 70%, 52%)
CMYKcmyk(69.9%, 69.9%, 0%, 47.8%)
CIE-LABlab(22.52, 31.56, -51.97)
CIE-LCHlch(22.52, 60.81, 301.27°)
OKLaboklab(34.52% 0.0134 -0.1501)
OKLCHoklch(34.52% 0.151 275.1)
XYZxyz(5.8661, 3.6616, 22.5834)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282885 #858528
analogous
#285785 #282885 #572885
triadic
#282885 #852828 #288528
tetradic
#282885 #852857 #858528 #288557
square
#282885 #852857 #858528 #288557
split-complementary
#282885 #855728 #578528
monochromatic
#0C0C27 #1A1A56 #282885 #3636B4 #5A5ACD

Accessibility & contrast

On white

12.12
#282885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#282885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282885
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282885#FFFFFF#000000##FFFFFF
##2828851.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282885;
/* rgb */ color: rgb(40, 40, 133);
/* oklch */ color: oklch(34.5% 0.151 275.1);
Tailwind
colors: {
  custom: {
    50: '#7062a9',
    500: '#282885',
    950: '#000000',
  },
}
SCSS
$custom: #282885;
$custom-light: #7062a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282885",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 240,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34521,
    "c": 0.15071,
    "h": 275.1
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#282885
secondary
#B3B356
accent
#DD4BDD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #282885

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

Preview Lab → · Contrast checker → · Palette generator →

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