#282793#282793

#282793 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.170 H 274.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#282793
RGBrgb(40, 39, 147)
HSLhsl(241, 58%, 36%)
HSVhsv(241, 73%, 58%)
CMYKcmyk(72.8%, 73.5%, 0%, 42.4%)
CIE-LABlab(23.70, 37.12, -58.75)
CIE-LCHlch(23.70, 69.50, 302.28°)
OKLaboklab(35.79% 0.0119 -0.1699)
OKLCHoklch(35.79% 0.17 274)
XYZxyz(6.8653, 4.0081, 28.0099)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282793 #929327
analogous
#275C93 #282793 #5E2793
triadic
#282793 #932827 #279328
tetradic
#282793 #93275C #929327 #27935E
square
#282793 #93275C #929327 #27935E
split-complementary
#282793 #935E27 #5C9327
monochromatic
#0E0D32 #1B1A63 #282793 #3534C3 #6160D5

Accessibility & contrast

On white

11.66
#282793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#282793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282793
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282793#FFFFFF#000000##FFFFFF
##2827931.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282793;
/* rgb */ color: rgb(40, 39, 147);
/* oklch */ color: oklch(35.8% 0.170 274.0);
Tailwind
colors: {
  custom: {
    50: '#7362b4',
    500: '#282793',
    950: '#000000',
  },
}
SCSS
$custom: #282793;
$custom-light: #7362b4;
$custom-dark: #000000;
JSON
{
  "hex": "#282793",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 240.556,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35793,
    "c": 0.17033,
    "h": 274
  },
  "luminance": 0.04009
}

Semantic roles & 50–950 ramp

primary
#282793
secondary
#B9BA5C
accent
#E147E0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282793

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

Preview Lab → · Contrast checker → · Palette generator →

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