#282286#282286

#282286 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.159 H 276.3°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#282286
RGBrgb(40, 34, 134)
HSLhsl(244, 60%, 33%)
HSVhsv(244, 75%, 53%)
CMYKcmyk(70.1%, 74.6%, 0%, 47.5%)
CIE-LABlab(21.27, 35.63, -54.66)
CIE-LCHlch(21.27, 65.25, 303.10°)
OKLaboklab(33.65% 0.0173 -0.1579)
OKLCHoklch(33.65% 0.159 276.3)
XYZxyz(5.7488, 3.3159, 22.8867)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282286 #808622
analogous
#224E86 #282286 #5A2286
triadic
#282286 #862822 #228628
tetradic
#282286 #86224E #808622 #22865A
square
#282286 #86224E #808622 #22865A
split-complementary
#282286 #865A22 #4E8622
monochromatic
#0B0924 #191655 #282286 #372EB7 #5850D3

Accessibility & contrast

On white

12.63
#282286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282286
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282286#FFFFFF#000000##FFFFFF
##2822861.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282286;
/* rgb */ color: rgb(40, 34, 134);
/* oklch */ color: oklch(33.7% 0.159 276.3);
Tailwind
colors: {
  custom: {
    50: '#705eaa',
    500: '#282286',
    950: '#000000',
  },
}
SCSS
$custom: #282286;
$custom-light: #705eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#282286",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 243.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33653,
    "c": 0.1589,
    "h": 276.3
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#282286
secondary
#B0B64E
accent
#E345D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #282286

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

Preview Lab → · Contrast checker → · Palette generator →

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