#282796#282796

#282796 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.174 H 273.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#282796
RGBrgb(40, 39, 150)
HSLhsl(241, 59%, 37%)
HSVhsv(241, 74%, 59%)
CMYKcmyk(73.3%, 74%, 0%, 41.2%)
CIE-LABlab(24.01, 38.15, -60.09)
CIE-LCHlch(24.01, 71.18, 302.41°)
OKLaboklab(36.11% 0.0114 -0.1738)
OKLCHoklch(36.11% 0.174 273.7)
XYZxyz(7.1038, 4.1035, 29.2659)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282796 #959627
analogous
#275D96 #282796 #602796
triadic
#282796 #962827 #279628
tetradic
#282796 #96275D #959627 #279660
square
#282796 #96275D #959627 #279660
split-complementary
#282796 #966027 #5D9627
monochromatic
#0E0E35 #1B1A65 #282796 #3534C7 #6261D6

Accessibility & contrast

On white

11.53
#282796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#282796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282796
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282796#FFFFFF#000000##FFFFFF
##2827961.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282796;
/* rgb */ color: rgb(40, 39, 150);
/* oklch */ color: oklch(36.1% 0.174 273.7);
Tailwind
colors: {
  custom: {
    50: '#7462b6',
    500: '#282796',
    950: '#000000',
  },
}
SCSS
$custom: #282796;
$custom-light: #7462b6;
$custom-dark: #000000;
JSON
{
  "hex": "#282796",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 240.541,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36109,
    "c": 0.17417,
    "h": 273.7
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#282796
secondary
#BBBC5D
accent
#E246E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282796

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

Preview Lab → · Contrast checker → · Palette generator →

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