#282496#282496

#282496 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.177 H 274.2°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#282496
RGBrgb(40, 36, 150)
HSLhsl(242, 61%, 36%)
HSVhsv(242, 76%, 59%)
CMYKcmyk(73.3%, 76%, 0%, 41.2%)
CIE-LABlab(23.39, 39.91, -61.12)
CIE-LCHlch(23.39, 72.99, 303.14°)
OKLaboklab(35.67% 0.013 -0.1768)
OKLCHoklch(35.67% 0.177 274.2)
XYZxyz(7.0091, 3.9142, 29.2344)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282496 #929624
analogous
#245996 #282496 #612496
triadic
#282496 #962824 #249628
tetradic
#282496 #962459 #929624 #249661
square
#282496 #962459 #929624 #249661
split-complementary
#282496 #966124 #599624
monochromatic
#0E0C33 #1B1865 #282496 #3530C7 #615CD8

Accessibility & contrast

On white

11.78
#282496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#282496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282496
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282496#FFFFFF#000000##FFFFFF
##2824961.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282496;
/* rgb */ color: rgb(40, 36, 150);
/* oklch */ color: oklch(35.7% 0.177 274.2);
Tailwind
colors: {
  custom: {
    50: '#7460b6',
    500: '#282496',
    950: '#000000',
  },
}
SCSS
$custom: #282496;
$custom-light: #7460b6;
$custom-dark: #000000;
JSON
{
  "hex": "#282496",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 242.105,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35666,
    "c": 0.17725,
    "h": 274.2
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#282496
secondary
#B9BD59
accent
#E443DF
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #282496

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

Preview Lab → · Contrast checker → · Palette generator →

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