#282794#282794

#282794 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.172 H 273.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#282794
RGBrgb(40, 39, 148)
HSLhsl(241, 58%, 37%)
HSVhsv(241, 74%, 58%)
CMYKcmyk(73%, 73.6%, 0%, 42%)
CIE-LABlab(23.80, 37.46, -59.20)
CIE-LCHlch(23.80, 70.06, 302.33°)
OKLaboklab(35.9% 0.0117 -0.1712)
OKLCHoklch(35.9% 0.172 273.9)
XYZxyz(6.9441, 4.0396, 28.4250)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282794 #939427
analogous
#275D94 #282794 #5F2794
triadic
#282794 #942827 #279428
tetradic
#282794 #94275D #939427 #27945F
square
#282794 #94275D #939427 #27945F
split-complementary
#282794 #945F27 #5D9427
monochromatic
#0E0D33 #1B1A64 #282794 #3534C4 #6160D5

Accessibility & contrast

On white

11.62
#282794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#282794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282794
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282794#FFFFFF#000000##FFFFFF
##2827941.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282794;
/* rgb */ color: rgb(40, 39, 148);
/* oklch */ color: oklch(35.9% 0.172 273.9);
Tailwind
colors: {
  custom: {
    50: '#7362b5',
    500: '#282794',
    950: '#000000',
  },
}
SCSS
$custom: #282794;
$custom-light: #7362b5;
$custom-dark: #000000;
JSON
{
  "hex": "#282794",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 240.55,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35898,
    "c": 0.17161,
    "h": 273.9
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

primary
#282794
secondary
#BABB5C
accent
#E246E0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282794

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

Preview Lab → · Contrast checker → · Palette generator →

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