#282785#282785

#282785 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.152 H 275.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#282785
RGBrgb(40, 39, 133)
HSLhsl(241, 55%, 34%)
HSVhsv(241, 71%, 52%)
CMYKcmyk(69.9%, 70.7%, 0%, 47.8%)
CIE-LABlab(22.29, 32.20, -52.36)
CIE-LCHlch(22.29, 61.47, 301.59°)
OKLaboklab(34.35% 0.0141 -0.1512)
OKLCHoklch(34.35% 0.152 275.3)
XYZxyz(5.8328, 3.5951, 22.5723)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282785 #848527
analogous
#275585 #282785 #572785
triadic
#282785 #852827 #278528
tetradic
#282785 #852755 #848527 #278557
square
#282785 #852755 #848527 #278557
split-complementary
#282785 #855727 #558527
monochromatic
#0C0B26 #1A1956 #282785 #3635B4 #5A58CE

Accessibility & contrast

On white

12.21
#282785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#282785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282785
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282785#FFFFFF#000000##FFFFFF
##2827851.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282785;
/* rgb */ color: rgb(40, 39, 133);
/* oklch */ color: oklch(34.4% 0.152 275.3);
Tailwind
colors: {
  custom: {
    50: '#7062a9',
    500: '#282785',
    950: '#000000',
  },
}
SCSS
$custom: #282785;
$custom-light: #7062a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282785",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 240.638,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34352,
    "c": 0.1519,
    "h": 275.3
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#282785
secondary
#B2B355
accent
#DE4ADC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #282785

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

Preview Lab → · Contrast checker → · Palette generator →

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