#282896#282896

#282896 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.173 H 273.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#282896
RGBrgb(40, 40, 150)
HSLhsl(240, 58%, 37%)
HSVhsv(240, 73%, 59%)
CMYKcmyk(73.3%, 73.3%, 0%, 41.2%)
CIE-LABlab(24.23, 37.56, -59.73)
CIE-LCHlch(24.23, 70.56, 302.16°)
OKLaboklab(36.26% 0.0108 -0.1728)
OKLCHoklch(36.26% 0.173 273.6)
XYZxyz(7.1370, 4.1700, 29.2770)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282896 #969628
analogous
#285F96 #282896 #5F2896
triadic
#282896 #962828 #289628
tetradic
#282896 #96285F #969628 #28965F
square
#282896 #96285F #969628 #28965F
split-complementary
#282896 #965F28 #5F9628
monochromatic
#0E0E35 #1B1B66 #282896 #3535C6 #6363D5

Accessibility & contrast

On white

11.45
#282896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#282896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282896
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282896#FFFFFF#000000##FFFFFF
##2828961.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282896;
/* rgb */ color: rgb(40, 40, 150);
/* oklch */ color: oklch(36.3% 0.173 273.6);
Tailwind
colors: {
  custom: {
    50: '#7463b6',
    500: '#282896',
    950: '#000000',
  },
}
SCSS
$custom: #282896;
$custom-light: #7463b6;
$custom-dark: #000000;
JSON
{
  "hex": "#282896",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 240,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36263,
    "c": 0.17311,
    "h": 273.6
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#282896
secondary
#BBBB5F
accent
#E147E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282896

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

Preview Lab → · Contrast checker → · Palette generator →

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