#282790#282790

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

Color values

HEX#282790
RGBrgb(40, 39, 144)
HSLhsl(241, 57%, 36%)
HSVhsv(241, 73%, 56%)
CMYKcmyk(72.2%, 72.9%, 0%, 43.5%)
CIE-LABlab(23.39, 36.08, -57.41)
CIE-LCHlch(23.39, 67.80, 302.15°)
OKLaboklab(35.48% 0.0124 -0.166)
OKLCHoklch(35.48% 0.166 274.3)
XYZxyz(6.6330, 3.9151, 26.7863)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282790 #8F9027
analogous
#275A90 #282790 #5C2790
triadic
#282790 #902827 #279028
tetradic
#282790 #90275A #8F9027 #27905C
square
#282790 #90275A #8F9027 #27905C
split-complementary
#282790 #905C27 #5A9027
monochromatic
#0D0D30 #1B1A60 #282790 #3534C0 #5F5ED3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##282790#FFFFFF#000000##FFFFFF
##2827901.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)
#003D93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282790;
/* rgb */ color: rgb(40, 39, 144);
/* oklch */ color: oklch(35.5% 0.166 274.3);
Tailwind
colors: {
  custom: {
    50: '#7262b2',
    500: '#282790',
    950: '#000000',
  },
}
SCSS
$custom: #282790;
$custom-light: #7262b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282790",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 240.571,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35479,
    "c": 0.16644,
    "h": 274.3
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#282790
secondary
#B8B95A
accent
#E147DF
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282790

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

Preview Lab → · Contrast checker → · Palette generator →

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