#282285#282285

#282285 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.158 H 276.4°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#282285
RGBrgb(40, 34, 133)
HSLhsl(244, 59%, 33%)
HSVhsv(244, 74%, 52%)
CMYKcmyk(69.9%, 74.4%, 0%, 47.8%)
CIE-LABlab(21.16, 35.29, -54.21)
CIE-LCHlch(21.16, 64.68, 303.07°)
OKLaboklab(33.55% 0.0175 -0.1566)
OKLCHoklch(33.55% 0.158 276.4)
XYZxyz(5.6794, 3.2881, 22.5211)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282285 #7F8522
analogous
#224E85 #282285 #592285
triadic
#282285 #852822 #228528
tetradic
#282285 #85224E #7F8522 #228559
square
#282285 #85224E #7F8522 #228559
split-complementary
#282285 #855922 #4E8522
monochromatic
#0B0924 #191654 #282285 #372EB6 #574FD2

Accessibility & contrast

On white

12.67
#282285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#282285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282285
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282285#FFFFFF#000000##FFFFFF
##2822851.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282285;
/* rgb */ color: rgb(40, 34, 133);
/* oklch */ color: oklch(33.5% 0.158 276.4);
Tailwind
colors: {
  custom: {
    50: '#705eaa',
    500: '#282285',
    950: '#000000',
  },
}
SCSS
$custom: #282285;
$custom-light: #705eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#282285",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 243.636,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33547,
    "c": 0.1576,
    "h": 276.4
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#282285
secondary
#AFB64D
accent
#E245D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #282285

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

Preview Lab → · Contrast checker → · Palette generator →

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