#282396#282396

#282396 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.178 H 274.3°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#282396
RGBrgb(40, 35, 150)
HSLhsl(243, 62%, 36%)
HSVhsv(243, 77%, 59%)
CMYKcmyk(73.3%, 76.7%, 0%, 41.2%)
CIE-LABlab(23.18, 40.48, -61.45)
CIE-LCHlch(23.18, 73.58, 303.37°)
OKLaboklab(35.52% 0.0135 -0.1777)
OKLCHoklch(35.52% 0.178 274.3)
XYZxyz(6.9793, 3.8545, 29.2244)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282396 #919623
analogous
#235896 #282396 #622396
triadic
#282396 #962823 #239628
tetradic
#282396 #962358 #919623 #239662
square
#282396 #962358 #919623 #239662
split-complementary
#282396 #966223 #589623
monochromatic
#0E0C33 #1B1764 #282396 #352FC8 #605BD9

Accessibility & contrast

On white

11.86
#282396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#282396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282396
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282396#FFFFFF#000000##FFFFFF
##2823961.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282396;
/* rgb */ color: rgb(40, 35, 150);
/* oklch */ color: oklch(35.5% 0.178 274.3);
Tailwind
colors: {
  custom: {
    50: '#7460b6',
    500: '#282396',
    950: '#000000',
  },
}
SCSS
$custom: #282396;
$custom-light: #7460b6;
$custom-dark: #000000;
JSON
{
  "hex": "#282396",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 242.609,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35523,
    "c": 0.17825,
    "h": 274.3
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#282396
secondary
#B9BD58
accent
#E543DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #282396

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

Preview Lab → · Contrast checker → · Palette generator →

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